Skip to content

Commit

Permalink
fixes formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubhang Balkundi committed Mar 26, 2024
1 parent 7d0e8bf commit 7eb1eb0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,18 @@ type QueueConfig struct {

type Queues []QueueConfig
```
#### How does queue key work
A practical example
### How does a queue key work?

#### A practical example

Suppose your queue key is called `foo_retries`. The RabbitMQ retry module will automatically create 3 queues namely
- `foo_retries_instant_queue`
- `foo_retries_delay_queue`
- `foo_retries_dlq`

In addition to the queues one exchange will also be created for routing
It will also create an exchange by the name `foo_retries_exchange`. This exchange is internally used to send messages to the right queue.
- In addition to the queues one exchange will also be created for routing

- It will also create an exchange by the name `foo_retries_exchange`. This exchange is internally used to send messages to the right queue.
Consumption only happens from the instant queue. The delay queue is where the retried message is sent and once the retries are exhausted they are sent to the dlq.

#### I have a lot of messages in my dead letter queue, how do I replay them
Expand Down

0 comments on commit 7eb1eb0

Please sign in to comment.