Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 06-09-2019 07:14 AM - edited 09-16-2022 07:26 AM
Hi,
I am not able to produce the msg on cloudera. I am running below command get the error.
COMMAND:
kafka-console-producer.sh \
--broker-list localhost:9092 \
--topic kafkademo1
ERRPR MSG:
WARN [Producer clientId=console-producer] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
Need support in this regard.
Created 06-11-2019 07:04 AM
Created 06-10-2019 04:33 AM
Created on 06-10-2019 11:17 PM - edited 06-10-2019 11:18 PM
Hi Jerry,
After replacing localhost to hostname "quickstart.cloudera" it is working , but now I am not getting messages in my consumers terminal. I follow the below commands.
kafka-console-producer.sh --broker-list quickstart.cloudera:9092 --topic test-1
>welcome to
>
kafka-console-consumer.sh --bootstrap-server quickstart.cloudera:9092 --topic test-1 --from-beginning
Pleaes let me know what could be the problem.
Regards,
Aamir
Created 06-11-2019 07:04 AM
Created 06-11-2019 07:19 AM
Hi Jerry,
It has starting working after I changed the property "offsets.topic.replication.factor" 3 to 1.
Thanks for your support.
Aamir.