]
Radoslav Husar reassigned WFLY-12048:
-------------------------------------
Assignee: Radoslav Husar (was: Paul Ferraro)
outbound-socket-binding element should allow grouping to be
referenced by JGroups socket-discovery-protocol
-----------------------------------------------------------------------------------------------------------
Key: WFLY-12048
URL:
https://issues.jboss.org/browse/WFLY-12048
Project: WildFly
Issue Type: Enhancement
Components: Clustering
Affects Versions: 16.0.0.Final
Reporter: Wolf-Dieter Fink
Assignee: Radoslav Husar
Priority: Major
JGroups configuration can use two different ways to configure cluster detection
------ older configuration is via protocol properties --
<protocol type="TCPPING">
<property name="initial_hosts">host[7600]</property>
------ new configuration via socket reference
<socket-discovery-protocol type="TCPPING" socket-bindings="ref-a
ref-b"/>
...
<outbound-socket-binding name="ref-a">
<remote-destination host="127.0.0.1" port="7600"/>
</outbound-socket-binding>
-----------
with the old option it is possible to use an expression to set all hosts in a cluster.
The new one need to have all outbound connections listed which is harder to maintain.
As an administrator I want to have the possibility to group the connections and only have
one reference and the number of connections can be vary without changing multiple point in
the configuration.
So a configuration like this would enhance that
<outbound-socket-binding-group>
<outbound-socket-binding name="ref-a">
<remote-destination host="host1" port="7600"/>
</outbound-socket-binding>
<outbound-socket-binding name="ref-b">
<remote-destination host="host2" port="7600"/>
</outbound-socket-binding>
</outbound-socket-binding-group>