From 40c387b205e7602524361b662c1980b442a8728b Mon Sep 17 00:00:00 2001 From: Fawzi Abdulfattah Date: Sun, 10 May 2026 04:06:33 +0200 Subject: [PATCH] docs: add usePublisherConfirms to README connection config table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reflects the 2.x publisher confirms default in the README's reference table — the Quick Start prose already covered it but the table did not. Co-Authored-By: Claude Opus 4.7 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 997d369..4dc5097 100644 --- a/README.md +++ b/README.md @@ -263,6 +263,7 @@ This is the hook you want when you're piping logs into Winston, Bunyan, Datadog, | `url` | `string` | — | The URL of the RabbitMQ server. | | `reconnectDelay` | `number` | `5000` | Delay in milliseconds before attempting to reconnect after a disconnection. | | `maxReconnectAttempts` | `number` | `5` | Maximum number of reconnection attempts. | +| `usePublisherConfirms` | `boolean` | `true` | Enable RabbitMQ publisher confirms on the user publish channel. When `true`, `publish()` resolves only after the broker acks the message and rejects on broker error. Set to `false` for fire-and-forget publishing. _Available in 2.x._ | | `management` | `ManagementConfiguration` | — | RabbitMQ management API configuration. | ---