04-20-2017 11:36 AM
I have a kafka zookeeper with port 2181 and kafka broker with port 9092 in a public server and I am trying to consume the topic content from a client machine. The ports 2181 (zk) and 9092 are open to the consumer machine. I can even do a bin/kafka-topics.sh --list --zookeeper myPublicServer:2181 from my client machine which gives me the list of topics. But when I try to consume or produce message from/to a topic the server no showa the messages.
I've tryed with the next comands:
bin/kafka-console-producer.sh --broker-list myPublicServer:9092 --topic test_topic
bin/kafka-console-consumer.sh --zookeeper myPlublicServer:2181 --topic test_topic
Even I configured a flume sink and source for public or consume the messages from the client machine.
I configured the file server.properties in the server with the below values:
Are there some configuration that I am forgetting??
04-20-2017 04:04 PM