-
-
Notifications
You must be signed in to change notification settings - Fork 94
Checkpoint initial position proposal #457
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
Conversation
|
/review |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Test Results 34 files 34 suites 18m 5s ⏱️ Results for commit b264394. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
1c1100b to
311ee55
Compare
Using 3 record types, this commit allows a subscription to define its starting point. It can be Beginning, End or From a specific position.Create CheckpointInitialPosition on SubscriptionWithCheckpointOptions Using 3 record types, this commit allows a subscription to define its starting point. It can be Beginning, End or From a specific position.
311ee55 to
2ae6a27
Compare
|
I'm questioning a bit the approach based on the fact that from what I understand, the checkpoint storage may not be the same as the event store. While implementing the postgres position check, I can modify the Now if the library allows mixing MongoDb for event store and postgres for checkpoints, the proposed approach will not work. Instead of introducing an I'm closing this PR for now until further discussion. |
|
I think all event stores support subscribing from the end. Basically, the start position option was the right approach, but delegating the logic to figure out the end of the log to the checkpoint store indeed will not work. It should be done by the subscription, when it gets an empty checkpoint from the checkpoint store. |
#456