karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: karaf/cellar generic discovery service
Date Wed, 30 Dec 2015 16:56:49 GMT
Hi Scott,

good idea, as said early, we could provide Cellar ECF for both discovery 
and remote service (as an alternative to DOSGi).

Let me create a Jira and work on a PoC about that.

Regards
JB

On 12/30/2015 05:08 PM, Scott Lewis wrote:
> ECF [0] has a stable network discovery API [1] and a number of providers
> based upon various protocols (zeroconf, etcd, slp, zookeeper, dnssd,
> custom).  We would welcome cooperative creation of other providers (e.g.
> based upon cellar).
>
> The discovery API is used by ECF's implementation of OSGi Remote
> Services, allowing any discovery provider to be used to discover remote
> services.
>
> Scott
>
> [0] https://wiki.eclipse.org/ECF
> [1]
> http://download.eclipse.org/rt/ecf/3.12.0/javadoc/org/eclipse/ecf/discovery/package-summary.html
>
> [2] https://wiki.eclipse.org/OSGi_Remote_Services_and_ECF
>
> On 12/30/2015 4:53 AM, lb wrote:
>> Hi all,
>>
>> I'm wondering if it would make sense to extend current discovery
>> service to
>> make it more generic and shareable among other services that need
>> discovery
>> capabilities.
>>
>> This may be achieved by adding some filtering capability to
>> discoverMembers
>> i.e.
>>
>> Collection<DiscoveredMember> discoverMembers(String domain)
>>
>> How domain is used is implementation dependant (labels for kubernetes,
>> path
>> for etcd, etc). Domain used by karaf clustering may be then defined in
>> hazelcast's service configuration file or wherever it make sense.
>>
>> It would also be useful to have additional info about the discovery
>> services like all the kubernetes label or any additional attribute
>> associated with the discovered service.
>>
>> What do you think ?
>>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message