In this article
Classify the actual protocol outcome before relying on a delivery limit to terminate a repeating message.
A repeating message never reaches the assumed limit
A worker repeatedly returns a quorum-queue message. Its assignment counter rises, yet the expected delivery-limit disposition does not occur. Before raising the limit or blaming its enforcement, identify which counter the broker actually evaluates and which protocol outcome the worker sends.
The quorum-queue documentation distinguishes acquired count from failed-delivery count under its documented semantics starting with version 4.3. An operational checklist copied from an earlier release can therefore describe the wrong termination mechanism for the deployed broker.
Assignment is not proof of execution
The acquired counter records assignment to a consumer. The guide explicitly cautions that this does not establish that the consumer ever saw the message. A broker-side assignment can precede a transport failure or application receipt.
Keep acquired count, application receipt and committed business effect as separate observations. A large assignment count is useful evidence of churn, but it cannot independently prove how many times an external effect was attempted or completed.
Classify the return outcome
The documented outcome table separates basic.nack from basic.reject. Under the stated modern quorum behavior, a nack return can advance acquired count without advancing delivery count; reject and genuine connection-loss failures have different accounting.
The acknowledgement guide defines these consumer protocol operations. Record the library call, requeue choice and actual queue type rather than normalizing every negative result into a generic application failure. The same log message can hide materially different broker outcomes.
Do not delegate every retry limit to the broker
A delivery limit based on failed deliveries cannot be assumed to terminate all explicit-return loops. If the application uses returns for routing or temporarily unavailable dependencies, it still needs a bounded policy for elapsed work, repeated deferral and terminal disposition.
That policy should use a stable operation identity and an owned decision. Changing nack to reject merely to force a counter increment also changes the described outcome; review the intended semantics instead of treating the operations as interchangeable counter controls.
Verify a versioned outcome matrix
In an isolated queue, compare a deliberate nack return, a reject path and an interrupted consumer connection. Preserve message identity, headers, effective limit and resulting dead-letter or removal state. These are proposed acceptance cases, not measurements claimed to have been performed.
Failure-policy classification explains why a retry rule requires the right signal. Operation deduplication explains why any subsequent redelivery still needs a duplicate-safe application outcome.
Accept the actual stopping rule
Acceptance requires a statement of what stops each class of repetition. Record the deployed version alongside the evidence because the counter contract is version-sensitive. A message that keeps returning is not proof of a broken limit when its returns do not belong to the limit’s counting domain. Conversely, a broker disposition is not proof that the business operation succeeded.
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.