apache / apache/openwhisk-package-cloudant

pick up from the last change handled by using since

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
17
Forks
31
PR merge metrics
No merged PRs in 30d

Description

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"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.