Closed
Description
Describe the bug
When consuming from time to time I get RD_KAFKA_RESP_ERR_REBALANCE_IN_PROGRESS from the broker. Those are short lived and look like something that has to be retried.
To Reproduce
I don’t have a way to cause rebalancing on queue to reproduce - this is something I observe in the runtime logs.
Expected behavior
I would think that the RD_KAFKA_RESP_ERR_REBALANCE_IN_PROGRESS should be one of the Retriable Errors in RetryableCommitter to have a retry auto applied when consuming.
Suggested fix (not tested)
See https://github.com/mateusjunges/laravel-kafka/blob/master/src/Commit/RetryableCommitter.php and add RD_KAFKA_RESP_ERR_REBALANCE_IN_PROGRESS to RETRYABLE_ERRORS