Skip to content

Commit 951c603

Browse files
committed
chore: add pub confirms info to the AMQP driver
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
1 parent 713c2c9 commit 951c603

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

queues/amqp.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ implementations is not guaranteed.
1313
To install and configure the RabbitMQ, use the
1414
corresponding [documentation page](https://www.rabbitmq.com/download.html).
1515

16+
{% hint style="info" %}
17+
Every messages pushed to the RabbitMQ server uses the publiser confirms. This means that the message is only considered as sent when the server confirms it. This is a reliable way to ensure that the message is delivered to the server.
18+
{% endhint %}
19+
20+
1621
After that, you should configure the connection to the server in the `amqp` section. This configuration section
1722
contains exactly one `addr` key with a [connection DSN](https://www.rabbitmq.com/uri-spec.html). The `TLS` configuration sits in the `amqp.tls` section and consists of the following options:
1823

@@ -67,7 +72,7 @@ the queue settings, including those specific to AMQP.
6772
version: "3"
6873

6974
amqp:
70-
addr: amqp://guest:guest@127.0.0.1:5672
75+
addr: amqp://guest:guest@127.0.0.1:5672
7176

7277
# AMQPS TLS configuration
7378
#
@@ -210,7 +215,7 @@ from `pipe1` have been processed.
210215

211216
### Prefetch
212217

213-
`prefetch` - rabbitMQ QoS prefetch. See also ["prefetch-size"](https://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.qos.prefetch-size). Note that if you use a large number of workers and a small `prefetch` number, some of the workers may not be loaded with messages (jobs) due to the blocking nature of the prefetch. This would result in poor RoadRunner performance and waste of resources.
218+
`prefetch` - rabbitMQ QoS prefetch. See also ["prefetch-size"](https://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.qos.prefetch-size). Note that if you use a large number of workers and a small `prefetch` number, some of the workers may not be loaded with messages (jobs) due to the blocking nature of the prefetch. This would result in poor RoadRunner performance and waste of resources.
214219

215220
### Queue
216221

@@ -257,13 +262,13 @@ Read more about Nack in RabbitMQ official docs: https://www.rabbitmq.com/confirm
257262

258263
### Durable
259264

260-
`durable` - create a durable queue.
265+
`durable` - create a durable queue.
261266

262267
Default: `false`
263268

264269
### Delete queue on stop
265270

266-
`delete_queue_on_stop` - delete the queue when the pipeline is stopped.
271+
`delete_queue_on_stop` - delete the queue when the pipeline is stopped.
267272

268273
Default: `false`
269274

@@ -274,20 +279,20 @@ Default: `false`
274279
### Exchange durable
275280

276281
`exchange_durable` - Durable
277-
exchange ([rabbitmq option](https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges)).
282+
exchange ([rabbitmq option](https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges)).
278283

279284
Default: `false`
280285

281286
### Exchange auto delete
282287

283-
`exchange_auto_delete` - Auto-delete (exchange is deleted when last queue is unbound from it): [link](https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges).
288+
`exchange_auto_delete` - Auto-delete (exchange is deleted when last queue is unbound from it): [link](https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges).
284289

285290
Default: `false`
286291

287292
### Queue auto delete
288293

289294
`queue_auto_delete` - Auto-delete (queue that has had at least one consumer is deleted when last consumer
290-
unsubscribes): [link](https://www.rabbitmq.com/queues.html#properties).
295+
unsubscribes): [link](https://www.rabbitmq.com/queues.html#properties).
291296

292297
Default: `false`
293298

0 commit comments

Comments
 (0)