Customizing the configuration file
As a service extension, you can customize your configuration
file to handle the security combinations that are supported by Apache
Kafka.
About this task
You can use the EnableBAI.py script to customize the configuration file
that you created for the BPM event emitter from the BAIConfigure.properties
template, for example in the following use cases.
.
- You are using an
SSL-plainconnection and the SSL connection is signed by a renowned Certificate Authority (CA). Instead of using the default configuration properties to provide the keys and password, you can customize the configuration file by providing only the plainusernameandpasswordcombination. - You have already configured the Kerberos realms in IBM® Business Automation Workflow.
. To
specify a custom configuration file, you set the type property
to the custom value and the configFileLocation property
to the path where the custom configuration file is located.
Important: Do not edit the
blackList section
because it used internally.Procedure
To customize the configuration file, follow these practices.
Example
kafkaConfiguration:
kafka.bootstrap.servers: "https://dev-node:9092"
enabled: true
monitor.topic: test-topic
kafka.client.id: bai-bpmn-event-producer
kafka.security.protocol: SSL
kafka.ssl.protocol: TLSv1.2
kafka.ssl.enabled.protocols: TLSv1.2
kafka.ssl.endpoint.identification.algorithm: HTTPS
kafka.ssl.truststore.type: JKS
kafka.ssl.keystore.type: JKS
kafka.ssl.truststore.location: E:/WorksL3/client.truststore.jks
kafka.ssl.truststore.password: passw0rd
kafka.ssl.keystore.location: E:/WorksL3/client.keystore.jks
kafka.ssl.keystore.password: passw0rd
kafka.ssl.key.password: passw0rd
blackList:
- "e0eb3ba9-e2ef-32b7-a1b2-d3533a359a62"
- "23d3ecec-6fdb-4033-9c57-e931aa13761f"
- "9645fce4-f4af-450f-8ce3-09d45bdb7920"
- "dbecd816-afed-47b0-ba92-c13256fcb566"
# The identifier for this BPM environment
# It can be the cell name or any other appropriate identifier.
bpmCellName: BPMServerCell01
This topic is shared by BAW, CP4BA. Last updated on 2025-03-13 12:15