You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2024/06/11 21:43:12 UTC
(activemq-artemis) branch main updated: NO-JIRA fix small doc-related issues for id-cache-size
This is an automated email from the ASF dual-hosted git repository.
jbertram 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 43e8009fb0 NO-JIRA fix small doc-related issues for id-cache-size
43e8009fb0 is described below
commit 43e8009fb0cabcf2edbd462f0edc09d55540899f
Author: Justin Bertram <jb...@apache.org>
AuthorDate: Tue Jun 11 16:42:26 2024 -0500
NO-JIRA fix small doc-related issues for id-cache-size
---
artemis-server/src/main/resources/schema/artemis-configuration.xsd | 2 +-
docs/user-manual/address-settings.adoc | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/artemis-server/src/main/resources/schema/artemis-configuration.xsd b/artemis-server/src/main/resources/schema/artemis-configuration.xsd
index fc4e50e578..88ecad9be9 100644
--- a/artemis-server/src/main/resources/schema/artemis-configuration.xsd
+++ b/artemis-server/src/main/resources/schema/artemis-configuration.xsd
@@ -4448,7 +4448,7 @@
</xsd:annotation>
</xsd:element>
- <xsd:element name="id-cache-size" type="xsd:int" maxOccurs="1" minOccurs="0">
+ <xsd:element name="id-cache-size" type="xsd:int" default="20000" maxOccurs="1" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
This will set the Duplicate ID cache size for the matching address. By default the global
diff --git a/docs/user-manual/address-settings.adoc b/docs/user-manual/address-settings.adoc
index 3455d7bead..a558776977 100644
--- a/docs/user-manual/address-settings.adoc
+++ b/docs/user-manual/address-settings.adoc
@@ -79,7 +79,7 @@ Here an example of an `address-setting` entry that might be found in the `broker
<retroactive-message-count>0</retroactive-message-count>
<enable-metrics>true</enable-metrics>
<enable-ingress-timestamp>false</enable-ingress-timestamp>
- <id-cache-size>500</id-cache-size>
+ <id-cache-size>20000</id-cache-size>
</address-setting>
</address-settings>
----
@@ -391,8 +391,8 @@ Default is `false`.
id-cache-size::
defines the maximum size of the duplicate ID cache for an address, as each address has it's own cache
that helps to detect and prevent the processing of duplicate messages based on their unique identification.
-By default, the `id-cache-size` setting inherits from the global `id-cache-size`, with a default of `20000`
-elements if not explicitly configured. Read more about xref:duplicate-detection.adoc#configuring-the-duplicate-id-cache[duplicate id cache sizes].
+By default, the `id-cache-size` setting inherits from the global `id-cache-size`, with a default of `20000` elements if not explicitly configured.
+Read more about xref:duplicate-detection.adoc#configuring-the-duplicate-id-cache[duplicate id cache sizes].
## Literal Matches
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact