Open ghost opened 11 months ago
The auto.commit.interval.ms is hardcoded to zero. I believe it means the Kafka client commits/ACKs after every poll() when auto commit is enabled.
auto.commit.interval.ms
https://github.com/morganstanley/modern-cpp-kafka/blob/a146d10bcf166f55299c7a55728abaaea52cb0e5/include/kafka/KafkaConsumer.h#L355C15-L355C15
It's done on purpose, but not commit after the poll(), -- it would commit with the next poll().
commit after the poll()
commit with the next poll()
The
auto.commit.interval.ms
is hardcoded to zero. I believe it means the Kafka client commits/ACKs after every poll() when auto commit is enabled.https://github.com/morganstanley/modern-cpp-kafka/blob/a146d10bcf166f55299c7a55728abaaea52cb0e5/include/kafka/KafkaConsumer.h#L355C15-L355C15