Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Test Kafka CLI

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
Highlighted

Re: Test Kafka CLI

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

Don't have an account?
Coming from Hortonworks? Activate your account here