You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation:
Previously, we failed the entire `KafkaConsumer` if storing
a message offset through `RDKafkaClient.storeMessageOffset`
failed because the partition the offset should be committed to
was unassigned (which can happen during rebalance).
We should not fail the consumer when committing during
rebalance.
The worst thing that could happen here is that storing the offset
fails and we re-read a message, which is fine since KafkaConsumers with
automatic commits are designed for at-least-once processing:
https://docs.confluent.io/platform/current/clients/consumer.html#offset-management
Modifications:
* `RDKafkaClient.storeMessageOffset`: don't throw when receiving
error
`RD_KAFKA_RESP_ERR__STATE`
0 commit comments