Reputation: 1
Steps I have followed-
docker run -d --name zookeeper -p 2181:2181 zookeeper:3.5
docker run -d --name kafka -p 9092:9092 -e KAFKA_ZOOKEEPER_CONNECT=<ip_addr>:2181 -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://<ip_addr>:9092 -e KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1 confluentinc/cp-kafka
getting this error enter image description here
I'm using **kafkajs **on my server to connect and produce messages. I want to run kafka locally and publish to a topic which will be subcribed on another server
Upvotes: 0
Views: 39