You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (Jira)" <ji...@apache.org> on 2021/12/01 15:24:00 UTC

[jira] [Created] (ARTEMIS-3594) Broker balancer - allow a transformer to coerce keys for a local-target-filter

Gary Tully created ARTEMIS-3594:
-----------------------------------

             Summary: Broker balancer - allow a transformer to coerce keys for a local-target-filter
                 Key: ARTEMIS-3594
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3594
             Project: ActiveMQ Artemis
          Issue Type: Improvement
          Components: balancer
    Affects Versions: 2.19.0
            Reporter: Gary Tully
            Assignee: Gary Tully


Add support of a CONSISTENT_HASH_MODULO key transformer that can be used for jms durable subs in a cluster. 
Using a consistent hash on the clientID, that can be transformed into an int < numBrokers such that each value is mapped to a particular broker. 

In a simple 2 broker cluster, this avoids the need for a durable subscriber to know about its broker, the balancer will only allow it to connect to the right one.



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