-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Duplicate message from RDKafka #3311
Comments
message.timeout.ms=1000 |
[stsuser@dev-01 logs]$ grep 627391 ADM_VIf4_21_03_2021_* This time I can see Time Gap is more. not 4ms but I can see few requests with 4ms as well. I Tested every time commit the message so no duplicate message. But it is a very slow of consuming part. |
I am getting this error maybe this is the reason for the Duplicates |
Failing to commit will yield duplicate messages since an older committed offset will be used as starting point. |
Yes commit failed. when I commit without argument it is working. |
Hi Edenhill,
I have auto-commit true with a commit interval of 8000 ms and I able to consume the same message multiple times in 4ms only i suspected that multiple consumers are called but I could see only one rd_kafka_consume0 is being called
Thread 30 (Thread 0x7f7652bfd700 (LWP 14565)):
#0 0x00000039b4c0ba5e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
---Type to continue, or q to quit---
#1 0x00000000007ff2a9 in cnd_timedwait ()
#2 0x00000000007aca65 in rd_kafka_q_pop_serve.localalias.12 ()
#3 0x0000000000774fc5 in rd_kafka_consume0 () at rdtime.h:257
#4 0x000000000076806a in RdKafka::KafkaConsumerImpl::consume(int) (this=Unhandled dwarf expression opcode 0xf3
) at KafkaConsumerImpl.cpp:114
#5 0x0000000000761546 in CConsumer::mefn_ReadTopic() () at Consumer.cpp:75
Read the FAQ first: https://github.com/edenhill/librdkafka/wiki/FAQ
Description
How to reproduce
<your steps how to reproduce goes here, or remove section if not relevant>
IMPORTANT: Always try to reproduce the issue on the latest released version (see https://github.com/edenhill/librdkafka/releases), if it can't be reproduced on the latest version the issue has been fixed.
Checklist
IMPORTANT: We will close issues where the checklist has not been completed.
Please provide the following information:
<REPLACE with e.g., v0.10.5 or a git sha. NOT "latest" or "current">
<REPLACE with e.g., 0.10.2.3>
<REPLACE with e.g., message.timeout.ms=123, auto.reset.offset=earliest, ..>
<REPLACE with e.g., Centos 5 (x64)>
debug=..
as necessary) from librdkafkaThe text was updated successfully, but these errors were encountered: