Apache ActiveMq Artemis client reconnecting to next available broker in clustered HA replication/shared-data store

前端 未结 2 1124
小鲜肉
小鲜肉 2021-01-28 12:09

Broker.xml (host1) and host2 just the port number changes to 61616 and slave as configuration. In reference with Apache Artemis client fail over discovery



        
2条回答
  •  不知归路
    2021-01-28 12:37

    The error stating "Unblocking a blocking call that will never get a response" is expected if failover happens when the client is in the middle of a blocking call (e.g. sending a durable message and waiting for an ack from the broker, committing a transaction, etc.). This is discussed further in the documentation.

    The fact that clients don't switch back to the master broker when it comes back is also expected given your configuration. In short, you haven't configured failback properly. Your master should have:

    
       
          
             true
          
       
    
    

    And your slave should have:

    
       
          
             true
          
       
    
    

    This is also discussed in the documentation.

    Lastly, you do not need to configure the broadcast and discovery groups when using a static connector.

提交回复
热议问题