Service Discovery Configuration
Service discovery enables the eMessage Connector to find the ThingWorx Platform hosts and ports in a ThingWorx High Availability Clustering environment. Further, it enables the eMessage Connector to react to start and stop events for the platform instances.
The discovery group in the configuration file of an eMessage Connector provides the following properties:
Property Name
Required?
Description
cx-server.discovery.connectionString
Yes
A comma-separated list of ZooKeeper hosts and ports that the eMessage Connector should connect to for service discovery.
For example:
“zookeeper1:2181,zookeeper2:2181,zookeeper3:2181”
.
cx-server.discovery.basePath
No
The default value is "/services".
cx-server.discovery.sasl-enabled
No
Whether Simple Authentication and Security Layer (SASL) authentication is enabled between the eMessage Connector and ZooKeeper. To enable Simple Authentication Security Layer (SASL), set this property to true. To disable it, set the property to false.
For information about SASL refer to the Installing and Configuring ZooKeeper for ThingWorx HA.
cx-server.discovery.sasl.krb5-conf.file
Yes if sasl-enabled is true. No otherwise.
If SASL is enabled, specify the full path to the configuration file for Kerberos, which is used for authenticating users with ZooKeeper.
cx-server.discovery.sasl-jaas-file
Yes if sasl-enabled is true. No otherwise.
If SASL is enabled, specify the path to the Java Authentication and Authorization Service (JAAS) configuration file for SASL authentication.
Was this helpful?