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

No obvious way to determine when an allStreamSubscription has caught up #163

Open
leopoldodonnell opened this issue May 21, 2021 · 0 comments

Comments

@leopoldodonnell
Copy link
Contributor

This issue is likely the same for individual stream subscriptions, but it isn't clear how to determine when a subscriber is caught up.

One use case: Running a batch job to create a read model, or a new stream.

It is currently not clear how to tell when subscription is caught up and the batch process can end. We're using allStream subscriptions with filters because it is a large database and all we want are the relevant events.

Currently the API delivers: 'data', 'close', 'confirmation', 'end', 'error', 'readable'.
Is the expectation that the 'readable' event get used for this?

@thefringeninja thefringeninja self-assigned this May 26, 2021
@thefringeninja thefringeninja removed their assignment Jan 25, 2022
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

2 participants