Could someone please help to understand when the consumer thread will commit the offset with spring kafka batch listener and auto commit set to true? Will the consumer thread commits the offsets after processing all messages in the batch as default? I know if autoCommit is false, the commit will be based on the AckModes, but would like to know when autoCommit is true
- Spring Kafka - batchListener -true
- enable.auto.commit - true
- MAX_POLL_RECORDS_CONFIG - default (500)
- MAX_POLL_INTERVAL_MS_CONFIG - default (5 min)