fgeller / kt

Kafka command line tool that likes JSON
MIT License
950 stars 100 forks source link

Error || client has run out of available brokers #128

Closed shreya7816 closed 2 years ago

shreya7816 commented 2 years ago

Hi, I am generating kafka events in protobuf format. I am trying to use kt to read/consume the events from terminal.

I am using following command kt consume -topic topic-name and getting this error failed to create client err=kafka: client has run out of available brokers to talk to (Is your cluster reachable?) Any suggestion how to fix this

fgeller commented 2 years ago

hey! can you make sure that you pass the correct addr to -brokers? it defaults to localhost:9092 but maybe your local setup is different.

fgeller commented 2 years ago

closing this issue optimistically, please re-open if it pops up again