Skip to content

Commit

Permalink
fix note about container name not matching (docker_kafka_1 vs docker-…
Browse files Browse the repository at this point in the history
…kafka-1)
  • Loading branch information
christofluethi committed May 8, 2024
1 parent 99d1d2c commit e659a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/docs/08.0/82_kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ mp.messaging.outgoing.data.value.serializer=io.quarkus.kafka.client.serializatio

We define the connector which we are going to use to communicate, the topic in which the data will be sent to and the serializer for the value.

To check if your producer is producing data correctly, you can use basic tooling available in your kafka container or use the quarkus dev-ui (remember to add the `quarkus-vertx-http` dependency in your producer). You need to find the name of your kafka container using `docker ps`. Be aware that this will only work if you are using the kafka stack and not the dev-services.
To check if your producer is producing data correctly, you can use basic tooling available in your kafka container or use the quarkus dev-ui (remember to add the `quarkus-vertx-http` dependency in your producer). You need to find the name of your kafka container using `docker ps`. Be aware that this will only work if you are using the kafka stack and not the dev-services and you probably have to check the actual container name which might be different.
```s
docker exec -it docker_kafka_1 bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic data --from-beginning
```
Expand Down

0 comments on commit e659a9f

Please sign in to comment.