You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Anton Roskvist (Jira)" <ji...@apache.org> on 2021/10/28 13:41:00 UTC

[jira] [Commented] (ARTEMIS-1925) Allow message redistribution even with OFF message-load-balancing semantics

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

Anton Roskvist commented on ARTEMIS-1925:
-----------------------------------------

[~gtully] This feature does not seem to be working properly, though I'm hesitant to open a ticket for it in case I have misunderstood anything...
From my testing though I can't really see a difference in message flow between setting "ON_DEMAND" or "OFF_WITH_REDISTRIBUTION". I still see the initial distribution of messages even though there are locally connected consumers on all brokers in the cluster. To get rid of those I can still set "OFF" but then I get the issue of stuck messages on some low volume queues with single consumers. Have I misunderstood the intent behind the feature or is there something else going on? I am running with mostly "openwire" clients if that might have anything to do with it... 

As a side note I think that there should be one more option for load balancing, and that is to do initial load balancing, but only for queues that does not have a local consumer bur remote ones, meaning that in a cluster of 3 brokers, where incoming load is already evenly distributed and 2 brokers have local consumers, then 2/3 of messages gets directly delivered and the third gets this "Initial load balancing"... with added redistribution capabilities for if a consumer goes down or moves. Does that make sense?

Br,

Anton

> Allow message redistribution even with OFF message-load-balancing semantics
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1925
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1925
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Gary Tully
>            Priority: Major
>             Fix For: 2.19.0
>
>          Time Spent: 9h 50m
>  Remaining Estimate: 0h
>
> Currently if the {{message-load-balancing}} is {{STRICT}} or {{OFF}} then message redistribution is disabled.  Message redistribution should be controlled only by the {{redistribtion-delay}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)