dramatiq.messages.retried
Total messages retriedDimensions:None
Technical Annotations (51)
Configuration Parameters (16)
fail_fastrecommended: Truemiddlewarerecommended: []max_retriesrecommended: 3on_failurerecommended: on_task_failure callbackmin_backoffrecommended: 1000max_backoffrecommended: 60000 to 300000time_limitrecommended: 24 hoursheartbeat_timeoutrecommended: 300000dramatiq_queue_prefetchrecommended: 1broker.heartbeatrecommended: 30smax_delayrecommended: 3600idemp:{msg_id}recommended: 24h TTLprefetch_multiplierrecommended: 1consumer-timeoutrecommended: 30 minutes (default)TimeLimitrecommended: 10 minutes (default, must be < consumer-timeout)requeuerecommended: TrueError Signatures (4)
response.raise_for_status()exceptionazure.core.exceptions.ResourceNotFoundError: The specified message does not existexceptionMessageNotFounderror codeUnhandled error during post_process_messagelog patternCLI Commands (2)
py.test --log-cli-level=warningdiagnosticbroker.declare_queue('dlq', durable=True)remediationTechnical References (29)
StubBrokercomponentRetries middlewarecomponentwork queueconcepttime.sleepcomponentkafka providercomponentRedisBrokercomponentRetriescomponentdefault_middlewarescomponentidempotentconceptdead_letter_queuecomponentretry_countconcept__heartbeats__component__acks__componentdispatch.luacomponentConcurrentRateLimitercomponentRedisBackendcomponentmessage_idcomponentmsg_idcomponentsupplier_tx_hashcomponentdead letter queuecomponentDLQcomponentTimeLimit middlewarecomponentdramatiq-azurecomponentpost_process_messagecomponent/usr/local/lib/python3.11/dist-packages/dramatiq/worker.pyfile path/usr/local/lib/python3.11/dist-packages/dramatiq_azure/asq.pyfile pathNACKconceptbasic_nackcomponent@dramatiq.actorcomponentRelated Insights (21)
Integration tests hang when actors fail due to retry exhaustion delaywarning
▸
Worker pool exhaustion from blocking retry delays prevents message processingcritical
▸
Millisecond to second conversion bug causes 1000x longer retry delayscritical
▸
Duplicate Retries middleware causes retry count multiplicationwarning
▸
Worker failure causes duplicate message delivery requiring idempotent actorscritical
▸
Tasks fail permanently after exhausting retriescritical
▸
Task fails permanently after retry exhaustioncritical
▸
Exponential backoff delays reach maximum causing extended retry intervalsinfo
▸
External API HTTP errors trigger task retrieswarning
▸
Messages re-queued despite valid heartbeat during idle waitwarning
▸
Concurrent rate limiters trigger retry stormswarning
▸
Network latency above 200ms causes worker desync and phantom retriescritical
▸
Exponential backoff overflow causes multi-day delays at high retry countswarning
▸
Non-idempotent tasks with retries cause duplicate processing and data corruptioncritical
▸
Worker starvation under high retry load with default prefetch settingswarning
▸
High retry rates degrade throughput by 40% across all queue systemswarning
▸
Missing dead letter queue causes infinite retry resource exhaustionwarning
▸
RabbitMQ consumer timeout causes infinite message reprocessingcritical
▸
Azure Queue message deletion failure causes duplicate processingcritical
▸
NACK hardcoded to not requeue sends failed messages to DLQ instead of retryingwarning
▸
Task duration exceeding time_limit triggers unwanted retrieswarning
▸