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

Make sure that buffered cursors are committed in case of event processing failure #114

Open
mtesseract opened this issue Jul 3, 2018 · 0 comments

Comments

@mtesseract
Copy link
Owner

If the callback provided to subscriptionProcess fails with an exception, event processing stops.

In this case, all buffered cursors up to (excluding) the failing event batch should be committed right before subscriptionProcess returns.

Current behaviour needs to be checked (I suppose there is no committing of buffered cursors) and most likely such a fallback commit mechanism needs to be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant