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.

adding a Kafka service failed

SOLVED Go to solution

Re: adding a Kafka service failed

Explorer
we followed this official link to test kafka:
http://www.cloudera.com/documentation/kafka/latest/topics/kafka_command_line.html

not sure why ther's no any error message, it got back to prompt

Re: adding a Kafka service failed

Explorer
it works with the following command:
kafka-topics --create --zookeeper cloudera01 --topic ggz --partitions 1 --replication-factor 1
kafka-console-producer --broker-list cloudera02:9092 --topic ggz
kafka-console-consumer --zookeeper cloudera01:2181 --topic ggz --from-beginning

Re: adding a Kafka service failed

New Contributor

Hi,

 

I followed same process till here.

Still getting errors as below. Could you please suggest what else i can do.

 

Image 1.png

Image 2.png

Re: adding a Kafka service failed

New Contributor

Did you solve the problem? 

Highlighted

Re: adding a Kafka service failed

New Contributor

Hi Joe,

 

nameOfClouderaKafkaBrokerServer.yourdomain.com:9092

 

What are the actual values we can give for nameOfClouderaKafkaBrokerServer? yourdomain?

Is port number 9092 same always?

 

Please ignore .. i see this questions is answered in Page 2 :) Very good topic. 

 

Thanks,

Chandra

 

Re: adding a Kafka service failed

New Contributor

Fantastic post bro

Re: adding a Kafka service failed

New Contributor
Could you please give me what exactly to put into these fields on CDH kafka configuring.

1) Fill in "Source Brokers List" --> "nameOfClouderaKafkaBrokerServer.yourdomain.com:9092". This is the Server (or Servers) where you configured the Kafka Broker (NOT the MirrorMaker).



2) Fill in "Destination Brokers List" --> "nameOfRemoteBrokerServer.otherdomain.com:9092". This is supposed to be a remote Cluster that will receive Topics sent over by your MirrorMaker. If you have one, put in that one. Otherwise just put in another Server in your network, whatever Server.

Re: adding a Kafka service failed

New Contributor
I have given Destination Broker List as
quickstart.cloudera:9092

Source Broker List as
quickstart.cloudera:9092

Re: adding a Kafka service failed

New Contributor

Yeah its worked for me. Thanks for the solution

Re: adding a Kafka service failed

New Contributor

thank you very much it really helped me