kcat icon indicating copy to clipboard operation
kcat copied to clipboard

"-e" doesnt exit as it should. I.e. kafkacat -b kafkahost -o end -e -t mytopic

Open keneo opened this issue 2 years ago • 1 comments

Option option -e does not work for me when I run it in my ubuntu docker.

It doesn't stop as it should.

Docker: ubuntu. tried version default ubuntu 1.5.0, but also manually installed lastest release 1.7.0, 1.7.1, debian/1.7.1-2):

However when I run on mac installed from brew it works as expected and stops properly: % Auto-selecting Consumer mode (use -P or -C to override) % Reached end of topic mytopic [0] at offset 696568219: exiting

Minimal example cli command to preproduce: kafkacat -b kafkahost -o end -e -t mytopic | jq .Date

Your latest docker image works properly, but I can't use it as I dont want to deploy docker inside my docker. docker run -it --network=host edenhill/kcat:1.7.1 -b kafkahost -o end -e -t mytopic % Auto-selecting Consumer mode (use -P or -C to override) % Reached end of topic mytopic [0] at offset 696569493: exiting

keneo avatar May 25 '23 09:05 keneo

root@9b2b25eb4070:/usr/src/app# apt list --installed | grep librdkafka

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

librdkafka++1/focal,now 1.2.1-1ubuntu1 amd64 [installed,automatic] librdkafka-dev/focal,now 1.2.1-1ubuntu1 amd64 [installed] librdkafka1/focal,now 1.2.1-1ubuntu1 amd64 [installed,automatic] root@9b2b25eb4070:/usr/src/app# apt list --installed | grep libyajl

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libyajl-dev/focal,now 2.1.0-3 amd64 [installed] libyajl2/focal,now 2.1.0-3 amd64 [installed,automatic]

keneo avatar May 25 '23 09:05 keneo