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

Gary Tully commented on ARTEMIS-1925:
-------------------------------------

where are we with this? I had a quick stab at this:
https://github.com/apache/activemq-artemis/pull/3676

before I saw this jira,  and I think we need to try and simplify and separate 
load balancing from redistribution. Redistribution needs to help when it 
sensibly can. Typically when there are stuck messages.
this is separate from load balancing, or at least should be imho. 
One problem with ON_DEMAND is that it does not prioritise local consumers. If 
we want to priorities local consumers (5.x does this to some extent with 
decreastNetworkConsumerPriority), then we turn off loadbalancing and we only 
'redistribute' to remote consumers when we have stuck messages. This seems like 
a step forward and a simplification. 
Because redistribution is off by default, and would only kick in the normal way 
when there are stuck messages it looks intuitive. Why would an existing user 
have configured redistribution with LoadBalancing.OFF? If we really need a new 
Loadbalance type, let's name it when/if we see it.

I am totally against a Loadbalance type of OFF_WITH_REDISTRIBUTION or really 
any additional versions of loadbalancing that combines two concepts more. It is 
already too confusing.

note how small the doc change is, this sits nicely!

> Allow message redistribution even with STRICT or 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
>            Priority: Major
>          Time Spent: 4h 40m
>  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)

Reply via email to