-
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
Question on rd_kafka_q_serve_rkmessages #1863
Comments
relates to confluentinc/confluent-kafka-python#407 |
You are correct, this seems to be a bug. It should use the remaining timeout. |
hey @edenhill , is there any update on when we could expect a bugfix? If not we can really use batch consume reliably, right? |
The fix PR will soon be submitted. |
Awesome, thanks so much @edenhill ! We really want to use librdkafka since well. is the fastest library (and the one with the "official" confluent support). Very much looking forward to it Sir. |
Read the FAQ first: https://github.com/edenhill/librdkafka/wiki/FAQ
Description
rd_kafka_q_serve_rkmessages
has a parametertimeout_ms
.Is
timeout_ms
applied for batch or for a single message?From the code, it looks like the timeout is applied for each message:
https://github.com/edenhill/librdkafka/blob/master/src/rdkafka_queue.c#L537-L551
If then, the request for batch_size=100, timeout_ms=1000 may timeout after 100*1000ms = 100 seconds.
Checklist
IMPORTANT: We will close issues where the checklist has not been completed.
Please provide the following information:
The text was updated successfully, but these errors were encountered: