Skip to content

Commit

Permalink
fix db command
Browse files Browse the repository at this point in the history
  • Loading branch information
sauljabin committed Jul 12, 2024
1 parent 1a21cf1 commit 1b2b677
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions md/kafka-connect-database-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ docker compose --profile sql up -d
Populate it:

```bash
mysql --host=mysql --database=sandbox < kafka-connect/sql/customers.sql
mysql --host=mysql --user=root --database=sandbox < kafka-connect/sql/customers.sql
```

That command should have created the table `customers` and inserted 200 records.

Now you can open [Adminer](http://localhost:9090) or run:

```bash
mysql --host=mysql --database=sandbox -e "select * from customers"
mysql --host=mysql --user=root --database=sandbox -e "select * from customers"
```

### Create Source Connector
Expand Down
2 changes: 1 addition & 1 deletion md/kafka-rest-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ http kafka-rest:8082/v3/clusters/${CLUSTER_ID}/topics < kafka-rest/requests/crea
List topics:

```bash
http kafka-rest:8082/v3/clusters/${CLUSTER_ID}/topics
http kafka-rest:8082/v3/clusters/${CLUSTER_ID}/topics | jq -r '.data[].topic_name'
```

### Produce
Expand Down

0 comments on commit 1b2b677

Please sign in to comment.