This is an automated email from the ASF dual-hosted git repository.
gtully pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 9b5dbf4265 ARTEMIS-4314 - fix typo in doc
9b5dbf4265 is described below
commit 9b5dbf42653f460a6f70e6a9c40b2c539cc09217
Author: Gary Tully <[email protected]>
AuthorDate: Fri Jun 16 15:55:38 2023 +0100
ARTEMIS-4314 - fix typo in doc
---
docs/user-manual/en/federation-queue.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/user-manual/en/federation-queue.md
b/docs/user-manual/en/federation-queue.md
index 481510aa32..07ffa3ed96 100644
--- a/docs/user-manual/en/federation-queue.md
+++ b/docs/user-manual/en/federation-queue.md
@@ -51,7 +51,7 @@ e.g. as many messages as possible are consumed from the same
broker as they were
* Dual Federation - potential for messages to flip-flop between clusters.
If the backlog on your queues exceeds the available local credit across
consumers, any lower priority federation consumer becomes a candidate for
dispatch and messages will be federated. Eventually all messages may migrate
and the scenario can repeat on the other cluster. Applying a rate limit to the
connector url can help mitigate but this could have an adverse effect on
migration when there are no local consumers.
- To better support this use case, it is possible to configure the
consumerWindowSize to zero on the referenced connector URI:
```tcp://<host>:<port>?consumerWindowSize=0```. This will cause the federation
consumer to pull messages in batches only when the local queue has excess
capacity. This means that federation won't ever drain more messaces than it can
handle, such that messages would flip-flop. The batch size is derived from the
relevant address settings defaultConsumerWindowSize.
+ To better support this use case, it is possible to configure the
consumerWindowSize to zero on the referenced connector URI:
```tcp://<host>:<port>?consumerWindowSize=0```. This will cause the federation
consumer to pull messages in batches only when the local queue has excess
capacity. This means that federation won't ever drain more messages than it can
handle, such that messages would flip-flop. The batch size is derived from the
relevant address settings defaultConsumerWindowSize.
## Configuring Queue Federation