I have a Spring Cloud Stream app using the Kafka binder. It appears to be committing offsets automatically based on AckMode=BATCH
(had to find that in debug mode as it doesn't appear documented). This is causing significant overhead to the broker in commit frequency.
I would like to either switch to using the native Kafka auto commit, e.g.:
enable.auto.commit: true
auto.commit.interval.ms: 5000
Or switch to using TIME config with 5000 ms ackTime as documented here:
https://docs.spring.io/spring-kafka/reference/htmlsingle/#committing-offsets
Is this possible using spring-cloud-stream-binder-kafka? Can you provide a sample config? Native configs above appear to be ignored (in configuration block).