You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can see that SYNC says Commits offsets manually at the end of each poll() loop if no exceptions occur. Sets enable.auto.commit to false which explicitly implies that if an exception occurs offsets are not committed
However SYNC_PER_RECORD just says Commits offsets manually after each ConsumerRecord is processed. Sets enable.auto.commit to false without any clarification about exception handling.
2 questions:
Can the docs be updated to be clearer?
What happens in SYNC_PER_RECORD If an exception is thrown? And how does it relate to different ErrorStrategy values?
The text was updated successfully, but these errors were encountered:
Issue description
Looking at: https://micronaut-projects.github.io/micronaut-kafka/latest/guide/#kafkaOffsets
We can see that
SYNC
saysCommits offsets manually at the end of each poll() loop if no exceptions occur. Sets enable.auto.commit to false
which explicitly implies that if an exception occurs offsets are not committedHowever
SYNC_PER_RECORD
just saysCommits offsets manually after each ConsumerRecord is processed. Sets enable.auto.commit to false
without any clarification about exception handling.2 questions:
ErrorStrategy
values?The text was updated successfully, but these errors were encountered: