How to find kafka configuration file?

I have an error when using kafka Error while executing topic command replication factor: 1 larger than available brokers: 0when I tried to create a theme.

And I found a solution ( Error creating Kafka-Replication factor themes more brokers available ) by changing the configuration file

cp config/server.properties config/server-1.properties
cp config/server.properties config/server-2.properties)

But my problem is that I can not find the configuration file cp: config/server.properties: No such file or directory

Can someone help me find it using terminal on Mac?

+8
source share
3 answers

You can use the find kafka command on the MAC address to search.

My Mac contains the entire configuration file.

/ Usr / local / etc / kafka /

+7
source

, . confluentinc/cp-enterprise-kafka, /etc/kafka.

+6

If you are using HDP Hortonworks (now Cloudera), it is located in /usr/hdp/2.6.4.0-91/kafka/conf

0
source

All Articles