Skip to content
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

Add handling of offset in case of auto commit is disabled to prevent data loss (CAMEL-8085) #342

Closed
wants to merge 3 commits into from

Conversation

vasilievip
Copy link
Contributor

  • add handling of offset if auto commit of offset is disabled
  • add embedded kafka into unit tests

- add handling of offset if auto commit of offset is disabled
- add embedded kafka into unit tests
@vasilievip vasilievip changed the title https://issues.apache.org/jira/browse/CAMEL-8085 Add handling of offset in case of auto commit is disabled to prevent data loss (https://issues.apache.org/jira/browse/CAMEL-8085) Nov 27, 2014
@vasilievip vasilievip changed the title Add handling of offset in case of auto commit is disabled to prevent data loss (https://issues.apache.org/jira/browse/CAMEL-8085) Add handling of offset in case of auto commit is disabled to prevent data loss (CAMEL-8085) Nov 27, 2014
- break iteration if interrupted or barrier is broken
- make barrier await timeout configurable
@WillemJiang
Copy link
Member

Applied the patch into camel master branch with thanks to Ivan.

@vasilievip
Copy link
Contributor Author

will you resolve the jira issue and close this pull request?

@davsclaus
Copy link
Contributor

@vasilievip we cannot close the github PR so do you mind doing that?

@vasilievip
Copy link
Contributor Author

Sure

@vasilievip vasilievip closed this Dec 3, 2014
@yogamaha
Copy link

Hi Guys,
I am observing one issue with the implementation.

For the last batch that is getting processed, offset is not getting commited to ZK.

Can you handle this scenario as well?

tdiesler pushed a commit to tdiesler/camel that referenced this pull request Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants