Closed alexbiehl closed 2 years ago
In a bash script I am piping lines into kcat and it looks like it's producing every record to the partition 0 of my topic.
kcat
I tried
-p -1
both of the measures didn't help. What am I missing?
The command I was starting out with seemed pretty vanilla and looked kinda like this:
kcat -X security.protocol=SSL -P -b $KAFKA_BROKERS -t some-topic
Any idea what could cause this phenomenon?
Turns out the topic had only one partition 😮💨
In a bash script I am piping lines into
kcat
and it looks like it's producing every record to the partition 0 of my topic.I tried
-p -1
to the command line to force random distributionboth of the measures didn't help. What am I missing?
The command I was starting out with seemed pretty vanilla and looked kinda like this:
Any idea what could cause this phenomenon?