Expand description
Resequencer — continuation-boundary EIP.
The resequencer is a CompiledStep + StepLifecycle. call(input) sends
the input into a bounded actor channel; an actor buffers + computes ready
outputs + sends them to a post-driver that drives the owned post-continuation;
call() returns a control ack. The main pipeline ends at the resequencer.
Architecture: See ADR-0029 (resequencer continuation boundary).
Modules§
- batch
- Batch resequencing policy — buffer per correlation key, window completion, sort by expression, burst-emit in order.
- stream
- Stream resequencing policy — bounded priority queue keyed by sequence number, gap detection with per-gap timeout, capacity cap, opt-in dedup.
Structs§
- Passthrough
Policy - Emits each input unchanged — used as a baseline policy for testing the continuation-boundary mechanics.
- Resequencer
Config - Configuration for the
ResequencerService. - Resequencer
Service - Continuation-boundary resequencer.
Constants§
- CAMEL_
RESEQUENCER_ ACCEPTED - Set on the ack exchange:
truewhen the resequencer accepted the input. - CAMEL_
RESEQUENCER_ DROPPED - Set on the ack exchange:
truewhen the input was dropped during shutdown. - CAMEL_
RESEQUENCER_ INOUT_ WARN - Set on the ack exchange:
truewhen an InOut exchange reaches the resequencer.
Traits§
- Resequence
Policy - Buffer / ordering policy for a resequencer.