﻿# RabbitMQ acquired count is not its delivery-limit counter

RabbitMQ quorum queues distinguish assignments from failed deliveries. A growing acquired count need not advance the delivery limit under the documented modern semantics.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/rabbitmq-quorum-acquired-delivery-count-scope/
Language: en

## 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](https://www.rabbitmq.com/docs/quorum-queues) 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](https://www.rabbitmq.com/docs/confirms) 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](/journal/guide-ks-job-pod-failure-policy/) explains why a retry rule requires the right signal. [Operation deduplication](/journal/provider-post-retry-idempotency-ledger/) 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.
