In this article
Verify when new delivery switches and what happens to outstanding work; one active delivery consumer does not remotely cancel an old external operation.
A replacement is active while an old effect is uncertain
A service uses single active consumer to keep delivery concentrated on a worker while another waits. The active worker loses its connection, and the broker promotes a replacement. An external operation previously started by the old worker may still be running.
The consumer guide defines automatic SAC takeover when the active consumer is canceled or disconnects. This broker-side continuity does not establish remote cancellation of application work that already escaped into another system.
Define the scope of single activity
Record queue type, protocol and the actual declaration enabling SAC. The guide distinguishes queue SAC from the similarly named stream feature and from exclusive consumption. A setting documented for one path is not automatically a configuration for the others.
The active state describes the broker’s chosen delivery consumer. It should not be interpreted as an inventory of every thread, process or external request still executing business work associated with earlier deliveries.
Separate graceful priority handoff
For quorum queues, the documented arrival of a higher-priority consumer stops new delivery to the current active consumer. The replacement becomes active after outstanding messages are acknowledged. This is a specific handoff condition, not a claim that every queue type preempts on priority in the same way.
Preserve the outstanding-delivery state during that transition. A slow acknowledgement can explain why a preferred replacement has registered without yet receiving work. Creating additional replacements does not necessarily accelerate the documented drain boundary.
Separate failure takeover from completed effects
The acknowledgement guide explains requeue after channel or connection failure. A replacement can receive work whose prior delivery was not acknowledged. That does not prove that the previous attempt had no external effect.
Use a stable operation identity and a duplicate-safe result contract. If strict business ordering matters, include the external effect’s completion boundary in the design. Serial delivery ownership alone cannot prove serialized completion when a disconnected worker or an asynchronous handler continues elsewhere.
Exercise both transition paths
In an isolated quorum setup, observe higher-priority registration while the original consumer holds an unacknowledged message. Verify the acknowledgement boundary before new delivery switches. Separately interrupt the active consumer and inspect takeover and redelivery.
Graceful draining explains why stopping admission and finishing accepted work are different steps. Operation deduplication explains how a takeover should handle an uncertain earlier attempt instead of inventing its outcome.
Accept continuity with bounded claims
A sound report records the active consumer transition, outstanding delivery disposition and reconciled application effects. It does not infer a total business order from an active flag alone. SAC can simplify who receives new messages and how a waiting consumer takes over, while the service remains responsible for concurrent old effects, ambiguous acknowledgements and the exact ordering guarantee it promises to its callers.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.