ByteCode.News
Submit RSS Atom Sign in

Back to the knowledge base

kafka ackmode

By dreamreal · · 158 lookups

Text
kafka ackmode is the Spring Kafka setting that controls when consumer offsets are committed. Key modes: BATCH (default, commits after listener returns), MANUAL (developer calls Acknowledgment.acknowledge() explicitly), and RECORD (commits after each message).
URLs
https://docs.spring.io/spring-kafka/reference/kafka/receiving-messages/listener-annotation.html
Tags
kafka spring