[
https://issues.apache.org/jira/browse/ARTEMIS-3064?focusedWorklogId=542836&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-542836
]
ASF GitHub Bot logged work on ARTEMIS-3064:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 27/Jan/21 13:44
Start Date: 27/Jan/21 13:44
Worklog Time Spent: 10m
Work Description: gtully commented on a change in pull request #3418:
URL: https://github.com/apache/activemq-artemis/pull/3418#discussion_r565318058
##########
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:
the tests look good. I think even is we provide an alternative url
config, we will need this fix for the existing configuration.
I can raise an issue to bypass the connector-refs and have a connector-uri
option where the rich url has all that is needed
----------------------------------------------------------------
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: 542836)
Time Spent: 1h 10m (was: 1h)
> 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: 1h 10m
> 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)