You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/12/09 10:15:00 UTC

[jira] [Commented] (ARTEMIS-2097) Pause and Block Producers

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

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

Commit 158157260ce9f496e2814c2dd6f5e19aaefbd762 in activemq-artemis's branch refs/heads/main from gtully
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=1581572 ]

ARTEMIS-2097 - via elastic queue use case test based on ARTEMIS-3365 and ARTEMIS-3569
scenario - avoid paging, if address is full chain another broker and produce to the head, consume from the tail using producer and consumer roles to partition connections. When tail is drained, drop it.
 - adds a option to treat an idle consumer as slow
 - adds basic support for credit based address blocking ARTEMIS-2097
 - adds some more visiblity to address memory usage and balancer attribute modifier operations


> Pause and Block Producers
> -------------------------
>
>                 Key: ARTEMIS-2097
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2097
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 1.5.5
>         Environment: AMQ-1.5.5
>            Reporter: Tyronne Wickramarathne
>            Assignee: Howard Gao
>            Priority: Major
>
> Could it be possible to block all incoming messages without changing the address-full-policy to 'BLOCK'?
> The address full policy can be configured to block incoming messages should the address full policy reaches the configured max-size-bytes attributes.
> However, on certain circumstances it is important to make a JMS destination drain without accepting incoming messages while keeping the address-full-policy at 'PAGE'. For an instance, if a user needs to bring down the broker for maintenance, it is important to allow the user to drain existing messages in the corresponding destination without accepting any new messages.
>  
> Currently the pause() method on a destination pauses message consumers. In a similar fashion could it be possible to add a new method to block message producers on a given destination irrespective of the address-full-policy being used?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)