[ 
https://issues.apache.org/jira/browse/ARTEMIS-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17688403#comment-17688403
 ] 

ASF subversion and git services commented on ARTEMIS-3178:
----------------------------------------------------------

Commit 764db34e9ba453b23b7c8b7154ab9ba710099874 in activemq-artemis's branch 
refs/heads/dependabot/maven/examples/features/standard/security-keycloak/org.keycloak-keycloak-core-20.0.3
 from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=764db34e9b ]

ARTEMIS-3178 Page Limitting (max messages and max bytes)

I am adding three attributes to Address-settings:

* page-limit-bytes: Number of bytes. We will convert this metric into max 
number of pages internally by dividing max-bytes / page-size. It will allow a 
max based on an estimate.
* page-limit-messages: Number of messages
* page-full-message-policy: fail or drop

We will now allow paging, until these max values and then fail or drop messages.

Once these values are retracted, the address will remain full until a period 
where cleanup is kicked in by paging. So these values may have a certain delay 
on being applied, but they should always be cleared once cleanup happened.


> Provide a way to limit the size of an address after paged
> ---------------------------------------------------------
>
>                 Key: ARTEMIS-3178
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3178
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker, Configuration
>    Affects Versions: 2.17.0
>            Reporter: Gary Tully
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.28.0
>
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> I am adding three attributes to Address-settings:
>  * page-limit-bytes: Number of bytes. We will convert this metric into max 
> number of pages internally by dividing max-bytes / page-size. It will allow a 
> max based on an estimate.
>  * page-limit-messages: Number of messages
>  * page-full-message-policy: fail : drop
> We will now allow paging, until these max values and then fail or drop 
> messages.
> Once these values are retracted, the address will remain full until a period 
> where cleanup is kicked in by paging. So these values may have a certain 
> delay on being applied, but they should always be cleared once cleanup 
> happened.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to