Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Test Kafka CLI

Hello , can someone give me theright command to test kafka using command line i followed this tuto in apache kafka 's officiel page but it didn't work the topics creates well but when i try to communicate with producer and consumer i got this error

62845-11.png

https://kafka.apache.org/quickstart

1 REPLY 1

Cloudera Employee

Hi Maha:

Please confirm that the broker is indeed listening at localhost:6667 by attempting to connect to it via nc or a similar utlity.

Example: nc -v localhost 6667

If you are unable to connect, then verify that the broker is running and that it is running on the machine where you are issuing the console producer command. If it is running on a separate machine, you will need to replace the "localhost" with the hostname of that separate machine.

Thank you,

Jeff Groves

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.