Framework.Sequencer.Consumer behaviour (Framework v0.5.0)
View SourceConsumer behavior for cursor persistence and resume.
Implements the binding behavior per sequencer-emitter-spec.md.
Summary
Callbacks
Behavior callback for handling events.
Functions
Get cursor for a named consumer.
Persist cursor for a named consumer.
Resume consumption from stored cursor.
Callbacks
Functions
Get cursor for a named consumer.
Returns the last processed sequence or 0 if no cursor exists.
Persist cursor for a named consumer.
Uses the canonical consumer_cursors table per sequencer-emitter-spec.md.
Resume consumption from stored cursor.
Implements the canonical resume behavior: > last_processed_sequence