Consider the following use case:
- A network of brokers for load-balancing
- A "plain" (tcp or nio) openwire connection on each broker
- A second "secure" (ssl or nio+ssl) openwire connector on each broker
- A mix of SSL and non-ssl clients
- rebalanceClusterClients, updateClusterClients, and updateClusterClientsOnRemove set true on both transport connectors.
In the above case, depending on the order the connectors are listed, after topology updates we end up with all clients trying either to connect to the non-ssl connector (if listed first) or to the ssl connector (if listed first), with the result that one or the other set of clients continually fails to reconnect to the broker.
Ideally, the clusterUpdates should contain both broker name and connector identification information, so that we can add a updateClusterFilter expression that ignores ssl connectors on the plain transport and ignores plain connectors on the ssl transport. A generic solution like this would also allow for configuring multiple connectors for other tuning options, as well.
- relates to
-
ENTMQ-1967 Enable the *ClusterClients transport options to rebalance correctly within an OpenShift environment
- Closed