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.

Can we see Kafka Consumer.properties in Ambari?

Can we see Kafka Consumer.properties in Ambari?

Explorer

Hi there,

I know how to Kafka broker configuration properties in Ambari. But, Not sure, How to check Consumer properties in Amabari.

I would appreciate your reply on this.

Thanks in advance.

1 REPLY 1
Highlighted

Re: Can we see Kafka Consumer.properties in Ambari?

New Contributor

Yes it does not. Default consumer.properties created by Ambari does not has any cluster specific information. Here is what I found in my setup.

zookeeper.connect=127.0.0.1:2181
# timeout in ms for connecting to zookeeper
zookeeper.connection.timeout.ms=6000
#consumer group id
group.id=test-consumer-group
#consumer timeout
#consumer.timeout.ms=5000   

If you wish to run kafka console consumer and are looking for arguments for a command such as:

/usr/hdp/current/kafka-broker/bin/kafka-console-consumer.sh --bootstrap-server node1.example.com:6667 --topic topic --new-consumer --security-protocol PLAINTEXTSASL --from-beginning --timeout-ms 2000

You will be able to find this using ambari.

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