Skip to content

LastDefinitelyProcessedCursor for JetStream and ATProto firehose clients#349

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

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

Conversation

@alnkesq
Copy link
Copy Markdown
Contributor

@alnkesq alnkesq commented Mar 24, 2026

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

Copy link
Copy Markdown
Owner

@drasticactions drasticactions left a comment

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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants