-
-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Labels
Description
Line 398 in bad5cba
| rkmessage_tmp.err = RD_KAFKA_RESP_ERR__TIMED_OUT; |
Hello,
This is a question mostly rather than an issue 😊
I'd like to ask why the default behavior of librdkafka (return null if no message appears during the specified timeout) has been replaced by returning the RD_KAFKA_RESP_ERR__TIMED_OUT error code.
To my understanding having a null message (no message) after the specified timeout is not an error case. It is something expected isn't it?
Especially in cases where a small timeout is being used the application could have many RD_KAFKA_RESP_ERR__TIMED_OUT error code every minute.
Could this "hide" a timeout error that could arrive from rd_kafka_consumer_poll pointing out actual timeout during broker communication?
Thanks
pchrysa, zeevin, Gregoire-M, Jeroeny, svanschooten and 1 more