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

pick up from the last change handled by using since #1

Open
csantanapr opened this issue Oct 27, 2016 · 0 comments
Open

pick up from the last change handled by using since #1

csantanapr opened this issue Oct 27, 2016 · 0 comments

Comments

@csantanapr
Copy link
Member

We should record the last-sequence and save it in the trigger DB.
This way if the server goes away (i.e restarted) when it returns and start following changes, it will pick up from the last changes handled.

In the handler where the trigger is fired, also save the changes.last_seq , then use this value if present when starting to follow changes, if not set then use "now"

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

No branches or pull requests

1 participant