mfontanini / cppkafka

Modern C++ Apache Kafka client library (wrapper for librdkafka)
BSD 2-Clause "Simplified" License
587 stars 207 forks source link

poll_batch does not trigger commit when auto.commit is true ? #287

Closed dfleury2 closed 2 years ago

dfleury2 commented 2 years ago

Hi, I have a simple consumer that poll_batch a topic, and no auto commit is done. When I only replace the call the poll_batch with a simple poll, the ato.commit works. (I see it in the CURRENT-OFFSET of kafka consumer group script).

Is there something I miss to add for pol_batch to enable auto commit ? Regards,

dfleury2 commented 2 years ago

ok, this is related to enable.auto.offset.store. Sorry for the noise.