How to reliably use rd_kafka_consumer_poll()? #3634
Unanswered
agrawalravi90
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd ideally like to keep rd_kafka_consumer_poll's timeout to a minimum, but it seems like rd_kafka_consumer_poll() can return NULL and not consume any messages on slower machines if the timeout is too small (like 1ms). Short of querying the system's clock speed to decide what value of timeout my application should use, is there any way to reliably use rd_kafka_consumer_poll() so that it works on any machine where my application might run?
Beta Was this translation helpful? Give feedback.
All reactions