swift-server / swift-kafka-client

Apache License 2.0
83 stars 23 forks source link

Fix: Kafka consumer leaves group after 5 mins #113

Closed felixschlegel closed 1 year ago

felixschlegel commented 1 year ago

Motivation:

This PR fixes issue #110.

KakfaConsumer: by polling the rd_kafka_queue_get_main queue instead of the rd_kafka_queue_get_consumer queue, the timer for max.poll.interval.ms did not get reset which eventually resulted in a timeout despite polling. (See librdkafka documentation)

Modifications: