We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using docker toolbox, after run $ docker network create kafka-net
$ docker run -d --name zookeeper --network kafka-net zookeeper:3.4 $ docker run -d --name kafka --network kafka-net --env ZOOKEEPER_IP=zookeeper ches/kafka
$ docker run --rm --network kafka-net ches/kafka \
kafka-topics.sh --create --topic test --replication-factor 1 --partitions 1 --zookeeper zookeeper:2181 Created topic "test".
$ docker run --rm --interactive --network kafka-net ches/kafka \
kafka-console-producer.sh --topic test --broker-list kafka:9092
kafka-console-consumer.sh --topic test --from-beginning --bootstrap-server kafka:9092
Cannot connect to Kafka brocker http://192.168.99.100/9092
Any suggestions?
The text was updated successfully, but these errors were encountered:
Change your third command.
docker run -d --name kafka --network kafka-net --env ZOOKEEPER_IP=zookeeper --env KAFKA_ADVERTISED_HOST_NAME=kafka ches/kafka
Sorry, something went wrong.
No branches or pull requests
Using docker toolbox,
after run
$ docker network create kafka-net
$ docker run -d --name zookeeper --network kafka-net zookeeper:3.4
$ docker run -d --name kafka --network kafka-net --env ZOOKEEPER_IP=zookeeper ches/kafka
$ docker run --rm --network kafka-net ches/kafka \
In separate terminals:
$ docker run --rm --interactive --network kafka-net ches/kafka \
$ docker run --rm --network kafka-net ches/kafka \
Cannot connect to Kafka brocker
http://192.168.99.100/9092
Any suggestions?
The text was updated successfully, but these errors were encountered: