-
Notifications
You must be signed in to change notification settings - Fork 514
feat(shuttle): Add rewind seconds option to EventStreamHubSubscriber #2585
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
base: main
Are you sure you want to change the base?
Conversation
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Why is this change needed?
When Shuttle restarts, there's a risk of missing events that were emitted out of order. Adding a rewindSeconds option allows Shuttle to rewind a few seconds in the event stream when resuming, ensuring no messages are missed. This addresses the issue described in #2172.
Merge Checklist
Choose all relevant options below by adding an
xnow or at any time before submitting for reviewPR-Codex overview
This PR updates the
@farcaster/shuttlepackage to version0.6.16, introducing a new feature for event stream management and several configuration changes.Detailed summary
0.6.15to0.6.16.rewindSecondsoption toEventStreamHubSubscriberto manage event stream rewinding.README.mdwith new configuration details forrewindSeconds.HUB_HOST,POSTGRES_URL,REDIS_URL, andCONCURRENCYinenv.ts.