jbertram commented on PR #4522:
URL: 
https://github.com/apache/activemq-artemis/pull/4522#issuecomment-1615143921

   Isn't the use-case in view here live-to-live failback after failover 
(implemented recently via 
[ARTEMIS-4251](https://issues.apache.org/jira/browse/ARTEMIS-4251))? I'd leave 
live/backup pairs out of this completely since there are already semantics in 
place for that use-case.
   
   > would this work if the nodeID of the broker changes (say the broker 
cluster is part of a blue/green deploy or similar, such that FQDN/IP remains 
the same but the underlying broker is replaced by one started on a new journal)?
   
   The `org.apache.activemq.artemis.api.core.client.TopologyMember` has the 
node ID as well as the `TransportConfiguration` which you should be able to use 
to identify host details like name and/or IP address. There are also the 
`isMember` methods which may be useful in this use-case.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to