We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dbf2fa commit 73bc4b4Copy full SHA for 73bc4b4
Sources/Kafka/RDKafka/RDKafkaClient.swift
@@ -525,7 +525,7 @@ final class RDKafkaClient: Sendable {
525
// which can occur during rebalancing or when the consumer is shutting down.
526
// See "Upgrade considerations" for more details: https://github.com/confluentinc/librdkafka/releases/tag/v1.9.0
527
// Since Kafka Consumers are designed for at-least-once processing, failing to commit here is acceptable.
528
- if error != RD_KAFKA_RESP_ERR__STATE {
+ if error == RD_KAFKA_RESP_ERR__STATE {
529
return
530
}
531
throw KafkaError.rdKafkaError(wrapping: error)
0 commit comments