[jboss-jira] [JBoss JIRA] (JGRP-2224) Multiple discovery protocols
Bela Ban (JIRA)
issues at jboss.org
Tue Oct 17 06:28:00 EDT 2017
[ https://issues.jboss.org/browse/JGRP-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477970#comment-13477970 ]
Bela Ban commented on JGRP-2224:
--------------------------------
This can be done by creating a {{MULTI_PING}} discovery protocol which extends {{Discovery}} and implements {{findMembers()}}. This method creates a {{Responses}} object and then calls the internal {{findMembers(Responses)}} method (in a separate thread) on each discovery protocol defined in {{MULTI_PING}}.
The config could look like this:
{code:xml}
<MULTI_PING async_discovery="true">
<discovery_protocols>
<TCPPING initial_hosts="..."/>
<DNS_PING.../>
<KUBE_PING .../>
</discovery-protocols>
</MULTI_PING>
{code}
> Multiple discovery protocols
> ----------------------------
>
> Key: JGRP-2224
> URL: https://issues.jboss.org/browse/JGRP-2224
> Project: JGroups
> Issue Type: Feature Request
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 4.0.8
>
>
> Allow for multiple discovery protocols. This would allow us to use a single configuration which includes discovery protocols for multiple cloud providers.
> The discovery protocols could be queried sequentially (return on result), or in parallel.
> Investigate whether we need a super discovery protocol which instantiates the individual protocols, or whether each protocol should be changed e.g. to forward events down the stack.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list