[jboss-jira] [JBoss JIRA] (WFLY-12048) outbound-socket-binding element should allow grouping to be referenced by JGroups socket-discovery-protocol

Wolf-Dieter Fink (Jira) issues at jboss.org
Mon May 6 10:30:00 EDT 2019


Wolf-Dieter Fink created WFLY-12048:
---------------------------------------

             Summary: 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: Paul Ferraro


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>



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list