Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

LastDefinitelyProcessedCursor for JetStream and ATProto firehose clients#349

Merged
drasticactions merged 3 commits into
drasticactions:developfrom
alnkesq:outoforder
Mar 25, 2026
Merged

LastDefinitelyProcessedCursor for JetStream and ATProto firehose clients#349
drasticactions merged 3 commits into
drasticactions:developfrom
alnkesq:outoforder

Conversation

@alnkesq

@alnkesq alnkesq commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

Given all the edge cases around events for parsed records not being raised (invalid CBOR, etc) I thought instead of embedding directly OutOfOrderCompletionTracker, rather than adding error event callbacks and expecting the user to handle them correctly (it's important that every OnEventGenerated has its own eventual OnEventProcessed)

Now instead of passing event IDs via events, I simply wrap the threadpool callback in a try {} finally {} that definitely calls OnEventProcessed

@drasticactions drasticactions left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@drasticactions drasticactions merged commit a8131ec into drasticactions:develop Mar 25, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants