File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ docker-compose up
1818### Sending Kafka messages
1919In order for the Kafka broker to expose JMX topic metrics you must send some messages to the topics.
2020```
21- cat kafka-messages | docker run -i -a stdin wurstmeister/kafka /opt/kafka_2.11-0.10.0.1/bin/kafka-console-producer.sh --broker-list 192.168.99.100 :9092 --topic customer
22- cat kafka-messages | docker run -i -a stdin wurstmeister/kafka /opt/kafka_2.11-0.10.0.1/bin/kafka-console-producer.sh --broker-list 192.168.99.100 :9092 --topic audit
21+ cat kafka-messages | docker run -i -a stdin wurstmeister/kafka /opt/kafka_2.11-0.10.0.1/bin/kafka-console-producer.sh --broker-list $DOCKER_HOST_IP :9092 --topic customer
22+ cat kafka-messages | docker run -i -a stdin wurstmeister/kafka /opt/kafka_2.11-0.10.0.1/bin/kafka-console-producer.sh --broker-list $DOCKER_HOST_IP :9092 --topic audit
2323```
2424
2525### Viewing Prometheus Metrics
You can’t perform that action at this time.
0 commit comments