You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Sumit Maheshwari <su...@gmail.com> on 2017/01/04 12:30:13 UTC

Reg: Getting configuration properties for Kafka broker

Hi,

To start the Kafka Broker from the CLI we run the following command:

"*bin/kafka-server-start.sh config/server.properties"*

How can I get hold of zookeeper configuration or all the configurations
mentioned in server.properties in runtime. By runtime meaning code need to
access those properties inside the kafka broker java process.

Thanks,
Sumit