Retrieving your Kafka connection information and generating the BPMEventEmitter.yml file
To configure the BPM event emitter with IBM® Business Automation
Insights, you run the
EnableBAI.py script again with the
BAIConfigure.properties
properties file. This file generates the BPMEventEmitter.yml configuration file
that is used by the emitter to send events from BPMN processes, BPEL processes, and BPEL human tasks
to a Kafka server.
Before you begin
Warning: Failure of IBM Business Automation
Insights integration might
cause an outage on the Business Automation Workflow system. If Business Automation Insights is down or
unresponsive, disable the communication immediately. For more information, see Uninstalling the BPM event emitter.
About this task
If you have deployed IBM Business Automation
Insights on
Kubernetes, you can create a copy of the BAIConfigure.properties template file,
which you then edit to match your needs, or you can start from a new file. You can find the
BAIConfigure.properties template in the
<Workflow_Install_Root>\BPM\Lombardi\tools\def
directory.
Procedure
Results
With this configuration, you connect your IBM Business Automation Workflow environment with the Kafka topic that runs on the OpenShift Cloud Platform.
Example
This properties file configures a successful connection of a IBM Business Automation
Workflow environment with the Kafka topic that runs on Red Hat OpenShift.
If you call the EnableBAI.py script with
this BAIConfigure.properties file, you get the following
BPMEventEmitter.yml file.#CommonConfigurations
DeploymentEnvironmentName=De1
bootstrapServers=iaf-system-kafka-bootstrap-ku2103.apps.kuocp.cp.fyre.ibm.com:443
topicName=icp4ba-bai-ingress
#Customized name for BPM server displayed in BAI
bpmCellName=PCCell1
type=scram_sha_512
trustStore=/tmp/truststore.jks
trustStore.password=secret
username=icp4ba-kafka-auth
password=dc5gk0oCS2vsblackList:
- "e0eb3ba9-e2ef-32b7-a1b2-d3533a359a62"
- "23d3ecec-6fdb-4033-9c57-e931aa13761f"
- "9645fce4-f4af-450f-8ce3-09d45bdb7920"
- "dbecd816-afed-47b0-ba92-c13256fcb566"
bpmCellName: "PCCell1"
kafkaConfiguration:
kafka.bootstrap.servers: "iaf-system-kafka-bootstrap-ku2103.apps.kuocp.cp.fyre.ibm.com:443"
enabled: true
monitor.topic: "icp4ba-bai-ibm-bai-ingress"
kafka.client.id: bai-bpmn-event-producer
kafka.ssl.protocol: TLSv1.2
kafka.ssl.enabled.protocols: TLSv1.2
kafka.ssl.truststore.type: JKS
kafka.ssl.keystore.type: JKS
kafka.ssl.truststore.location: /opt/ibm/bpm/profiles/Node1Profile/config/cells/PCCell1/nodes/Node1/servers/SingleClusterMember1/analytics/config/truststore.jks
kafka.ssl.truststore.password: secret
kafka.security.protocol: SASL_SSL
kafka.sasl.mechanism: SCRAM-SHA-512
kafka.sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="icp4ba-kafka-auth" password="dc5gk0oCS2vs";