[ 
https://issues.apache.org/jira/browse/ARTEMIS-3064?focusedWorklogId=540259&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-540259
 ]

ASF GitHub Bot logged work on ARTEMIS-3064:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Jan/21 17:42
            Start Date: 22/Jan/21 17:42
    Worklog Time Spent: 10m 
      Work Description: michaelandrepearce commented on a change in pull 
request #3418:
URL: https://github.com/apache/activemq-artemis/pull/3418#discussion_r562796867



##########
File path: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/federation/FederationConnection.java
##########
@@ -69,6 +69,10 @@ public FederationConnection(Configuration configuration, 
String name, Federation
          }
       }
 
+      if (!config.isHA()) {
+         serverLocator.setUseTopologyForLoadBalancing(false);

Review comment:
       Should we maybe just like for others look to make this pick up from url 
configuration?
   
   What do bridges do?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 540259)
    Time Spent: 20m  (was: 10m)

> Enable/Disable useTopologyForLoadBalancing for federation connections between 
> clusters
> --------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3064
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3064
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Federation
>    Affects Versions: 2.16.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Major
>             Fix For: 2.17.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The core client respects the topology for loadbalancing by default. A 
> federation connection configures and reuses a server locator via it's circuit 
> breaker.
> With ha = false, it looks like we should disable useTopologyForLoadBalancing 
> such that the circuit reconnect gets back to the original broker even when 
> clustered.
> With ha=true, the reconnect can be to any broker in the cluster in the normal 
> way.



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

Reply via email to