Should exactly once work with batch kafka consumers? #209
Answered
by
BEagle1984
cookie-bytes
asked this question in
Q&A
-
Just wondering how exactly once works with batch kafka consumers, does it commit the offset to the offset store DB table once the whole batch is completed? |
Beta Was this translation helpful? Give feedback.
Answered by
BEagle1984
Sep 21, 2023
Replies: 1 comment 1 reply
-
Yes, exactly, the offsets are committed against both Kafka and the database when the subscriber successfully returns after having processed the whole batch. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cookie-bytes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, exactly, the offsets are committed against both Kafka and the database when the subscriber successfully returns after having processed the whole batch.