-
Notifications
You must be signed in to change notification settings - Fork 29
[#555] Add option to commit offsets #556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conceptually I think there's nothing wrong with the changes. So, thanks for the effort there, @bradskuse! However, I do have some minor concerns we need to address. So, if you could take a look at those once you have found the time for that, that would be great.
...rc/main/java/org/axonframework/extensions/kafka/eventhandling/consumer/OffsetCommitType.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/axonframework/extensions/kafka/eventhandling/consumer/OffsetCommitType.java
Show resolved
Hide resolved
...rc/main/java/org/axonframework/extensions/kafka/eventhandling/consumer/OffsetCommitType.java
Show resolved
Hide resolved
kafka/src/main/java/org/axonframework/extensions/kafka/eventhandling/consumer/AsyncFetcher.java
Show resolved
Hide resolved
kafka/src/main/java/org/axonframework/extensions/kafka/eventhandling/consumer/AsyncFetcher.java
Outdated
Show resolved
Hide resolved
kafka/src/main/java/org/axonframework/extensions/kafka/eventhandling/consumer/AsyncFetcher.java
Show resolved
Hide resolved
...src/main/java/org/axonframework/extensions/kafka/eventhandling/consumer/FetchEventsTask.java
Outdated
Show resolved
Hide resolved
...test/java/org/axonframework/extensions/kafka/eventhandling/consumer/FetchEventsTaskTest.java
Outdated
Show resolved
Hide resolved
Hey @smcvb Thank you for reviewing this PR. I have just pushed up all the changes requested 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My concerns have been addressed, hence I'm approving this pull request.
Resolves #555
This adds an option so that offsets can be committed after processing of events, instead of using enable auto commit.
Edit: Added ability to use auto, async or sync