x-queue-rabbitmq
OfficialDesign resilient RabbitMQ publisher/subscriber retries
Authorpure-golang
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents brittle queue retry and DLQ behavior by giving a consistent RabbitMQ topology pattern that makes publisher/subscriber failures recoverable and predictable.
Core Features & Use Cases
- Topology-first reliability: Use Definitions to define exchanges, queues, bindings, and retry/DLQ topology in a stable, reusable way.
- Correct retry semantics via x-death: Implement retry based on errors and RabbitMQ x-death state, routing messages to retry until MaxRetries is reached, then to DLQ.
- Pragmatic integration patterns: Prefer NewPublisher2 and NewSubscriber2, and use MultiQueueSubscriber when you need fan-in consumption from multiple queues without parallelism across queues.
- Use Case: You ship an event-driven service where handlers intermittently fail; this Skill helps you design retry queues, DLQ routing, and the deployment-safe topology so failed messages don’t get lost or loop forever.
Quick Start
Apply this skill when designing a RabbitMQ publisher/subscriber pair and specify retry and DLQ behavior through Definitions, then implement the subscriber using NewSubscriber2 with MaxRetries and the retry queue wired back to the main exchange/queue.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: x-queue-rabbitmq Download link: https://github.com/pure-golang/level85/archive/main.zip#x-queue-rabbitmq Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.