-
Notifications
You must be signed in to change notification settings - Fork 779
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
getting duplicate messages on consumer #772
Comments
Hi @vikrampunchh without |
@rhansen2 thanks, but Configs:
according to Kafka docs, one partition can send messages to one consumer but I am getting the same offsets message in two consumers (randomly). |
Sorry @vikrampunchh I misunderstood your original message. Could you provide a code sample I could use to reproduce the issue? |
I am running this code on 4 workers |
Thanks @vikrampunchh! What does production to the topics look like, is it constant or sporadic? Do you see the duplicates for all topics or does it tend to occur with a single topic? Additionally, are you sing any errors from CommitMessages when you see the duplicates? |
it occurs randomly on all topics. No i am not getting any error on CommitMessages |
Hi @vikrampunchh So far I haven't had any success replicating this issue. Our current theory is that potentially rebalances are occurring between Are you seeing any rebalances around the times you're seeing the duplicates? You could also get more detailed information out of the Reader by setting the Thanks! |
Hi @vikrampunchh We recently published v0.4.27 which might help with your issue. |
Closing due to inactivity. |
I have started 4 consumers with this config, sometimes the same message receives by multiple consumers.
I have added
GroupID
to prevent duplicatesThe text was updated successfully, but these errors were encountered: