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

Consumer with RdKafka::Topic::OFFSET_STORED starts with wrong offset ( good_offset -1) #164

Closed
ihersht opened this issue Nov 10, 2014 · 2 comments
Labels

Comments

@ihersht
Copy link

ihersht commented Nov 10, 2014

To reproduce Start consumer, start producer, restart consumer
Start consumer
./rdkafka_example_cpp -C -t ssv-evr -b gcn1004.corp.xplusone.com:9092 -p 1 -o stored
Start producer
% Created producer rdkafka#producer-0
aa
% Produced message (2 bytes)
bb
Message delivery for (2 bytes): Success
% Produced message (2 bytes)
ttt
Message delivery for (2 bytes): Success
% Produced message (3 bytes)
, restart consumer
./rdkafka_example_cpp -C -t ssv-evr -b gcn1004.corp.xplusone.com:9092 -p 1 -o stored
% Created consumer rdkafka#consumer-0
Read msg at offset 3002
ttt

@edenhill
Copy link
Contributor

Thanks for the info, I can reproduce it and will look into it.

@edenhill
Copy link
Contributor

This is fixed now, can you verify on your end aswell?
Thanks.

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

No branches or pull requests

2 participants