Skip to content

Commit 75f5f07

Browse files
Update README.md
1 parent ead892b commit 75f5f07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ docker-compose up
1818
### Sending Kafka messages
1919
In 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

0 commit comments

Comments
 (0)