Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed May 11, 2024
1 parent 7a91ce8 commit acf9ea1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ OPTIONS

So first, let's run a producer that will write to `bq-kafka-example` topic:
```
java -jar target/bootique-kafka-examples-3.0.jar --producer --config=config.yml --topic=bq-kafka-example
java -jar target/bootique-kafka-examples-3.0.jar --producer \
--config=config.yml \
--topic=bq-kafka-example
```

This starts an interactive console app that allows you to type messages, one line at a time, that are sent to Kafka:
Expand All @@ -94,7 +96,9 @@ Open a new terminal window, change to `bootique-kafka-examples/` directory, and
`--consumer` command:

```
java -jar target/bootique-kafka-examples-3.0.jar --consumer --config=config.yml --topic=bq-kafka-example
java -jar target/bootique-kafka-examples-3.0.jar --consumer \
--config=config.yml \
--topic=bq-kafka-example
```
Now, return to the running producer window, and type more messages. All of them should be mirrored in the consumer
command output.

0 comments on commit acf9ea1

Please # to comment.