This is an automated email from the ASF dual-hosted git repository.

clebertsuconic 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 a06494d  ARTEMIS-3297 Moving journal-retention-directory commented out 
element
a06494d is described below

commit a06494db852afe0168da871919cdd342d8daba5e
Author: Clebert Suconic <[email protected]>
AuthorDate: Mon May 24 16:49:27 2021 -0400

    ARTEMIS-3297 Moving journal-retention-directory commented out element
    
    Just moving it close to the journal locations, as it was my original intent
---
 .../activemq/artemis/cli/commands/etc/broker.xml     | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git 
a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/broker.xml
 
b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/broker.xml
index 66793a5..dc48d94 100644
--- 
a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/broker.xml
+++ 
b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/broker.xml
@@ -46,6 +46,16 @@ ${jdbc}
 
       
<large-messages-directory>${data.dir}/large-messages</large-messages-directory>
 
+      <!--
+      if you want to retain your journal uncomment this following 
configuration.
+
+      This will allow your system to keep 7 days of your data, up to 10G. 
Tweak it accordingly to your use case and capacity.
+
+      it is recommended to use a separate storage unit from the journal for 
performance considerations.
+
+      <journal-retention-directory period="7" unit="DAYS" 
storage-limit="10G">data/retention</journal-retention-directory>>
+      -->
+
       <journal-datasync>${fsync}</journal-datasync>
 
       <journal-min-files>2</journal-min-files>
@@ -64,16 +74,6 @@ ${jdbc}
            that won't support flow control. -->
       <max-disk-usage>90</max-disk-usage>
 
-      <!--
-      if you want to retain your journal uncomment this following 
configuration.
-
-      This will allow your system to keep 7 days of your data, up to 10G. 
Tweak it accordingly to your use case and capacity.
-
-      it is recommended to use a separate storage unit from the journal for 
performance considerations.
-
-      <journal-retention-directory period="7" unit="DAYS" 
storage-limit="10G">data/retention</journal-retention-directory>>
-      -->
-
       <!-- should the broker detect dead locks and other issues -->
       <critical-analyzer>true</critical-analyzer>
 

Reply via email to