Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
keneo opened this issue May 25, 2023 · 1 comment

Comments

@keneo
Copy link

keneo commented May 25, 2023

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
Copy link
Author

keneo commented May 25, 2023

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant