Skip to main content
Jump to: navigation, search

Hazelcast-Based Discovery Provider

Revision as of 18:04, 15 September 2019 by Slewis.composent.com (Talk | contribs) (Created page with "A new ECF discovery provider has been created, based upon the [http://hazelcast.com Hazelcast] communications library. See the [http://hazelcast.org Hazelcast website] for sp...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A new ECF discovery provider has been created, based upon the Hazelcast communications library. See the Hazelcast website for specifics.

Getting Hazelcast Discovery Provider

The ECF Hazelcast Discovery Provider is currently available as one of ECF's github repositories. The Hazelcast provider repository is here.

A binary build of the Hazelcast Discovery Provider and Hazelcast Distribution Provider are available here.

Karaf Install

A Karaf features file karaf-features.xml (with both Distribution and Discovery features) is available in karaf-features.xml.

Hazelcast Discovery Provider Configuration Properties

The ECF Hazelcast Discovery Provider is configured via system properties. Here is a table of the Hazelcast Discovery Provider configuration system property properties and their default values:

Property Name Description Type Default value
ecf.discovery.hazelcast.configURL Xml config file to config ECF Discovery Hazelcast group. Example: file:///path//to/hazelcast.xml String None - If not specified, uses file /hazelcast.xml file inside of bundle org.eclipse.ecf.discovery.provider.hazelcast, which uses Hazelcast multicast group: 224.2.2.5 and port: 54327. See here for entire default HC config file.
ecf.discovery.hazelcast.enabled Flag to enable/disable Hazelcast Discovery via bundle org.eclipse.ecf.discovery.provider.hazelcast. True by default. Setting system property to anything other than 'true' will disable the ECF Hazelcast Discovery provider. Boolean true

Note that these values and defaults are also defined in the source code in the org.eclipse.ecf.provider.internal.jms.hazelcast.Activator class available at githhub here.

Back to the top