Expand description
Backpressure-aware enqueuer (in-memory backend).
BackpressureEnforcer tracks un-acked jobs per topic and caps how many may
be outstanding at once, returning BackpressureError instead of blocking
when the cap is exceeded.
Structs§
- Backpressure
Enforcer - Caps how many un-acked jobs a topic may have outstanding.
Enums§
- Backpressure
Error - Errors returned by
BackpressureEnforcer.
Functions§
- enqueue_
with_ backpressure - Enqueues every payload, counting the ones rejected for lack of room.