Configuration of the DesEventBroker microservice
The first stage of deploying a streaming data source to MashZone NextGen Explorer is to configure the DesEventBroker such that it subscribes for the desired event type and writes them to a topic hosted by a Kafka instance.
The DesEventBroker microservice provides the following configuration properties:
Property name | Type | Description | Default value |
com.softwareag. events.ncryption. configuration. location | String | The property for specifying the Digital Event Services encryption configuration location. Mandatory: No | "../../common/DigitalEventServices/security/passman" |
com.softwareag. events. license. location | String | The property pointing to the location of the Digital Event Services license file. Mandatory: No | "../../common/DigitalEventServices/license/license.xml" |
com.softwareag. events. repository. location | String | The property pointing to the common root of the annotation repository and the type repository. Mandatory: No | "../../common/DigitalEventServices/TypeRepository" |
com.softwareag. events. routing. configuration. directory | String | The property for specifying the Digital Event Services configuration directory. Mandatory: No | "../../profiles/VAN/configuration" |
The default values of the configuration properties are sufficient for an installation of DES and MashZone NextGen Explorer in the same SoftwareAG directory. In this case, no additional configuration is required and the DesEventBroker can be activated by using the following module specification in <MashZone NextGen installation>/VisualAnalytics/config/modules.json.
{
"level" : 90,
"impl" : "java:com.softwareag.va.des.impl.DesEventBrokerImpl"
},
Due to the provided default values this module specification is equivalent to the following module specification.
{
"level" : 90,
"impl" : "java:com.softwareag.va.des.impl.DesEventBrokerImpl",
"options" : {
"config" : {
"com.softwareag.events.repository.location"
: "../../common/DigitalEventServices/TypeRepository",
"com.softwareag.events.license.location"
: "../../common/DigitalEventServices/license/license.xml",
"com.softwareag.events.encryption.configuration.location"
: "../../common/DigitalEventServices/security/passman",
"com.softwareag.events.routing.configuration.directory"
: "../../profiles/VAN/configuration"
}
}
},
If DES and MashZone NextGen Explorer are not installed in the same SoftwareAG directory adapt the module specification accordingly.