2.4.1 Create an Event Handler
Create event handlers in MicroTx Workflows to listen to messages sent by Transactional Event Queues (TxEventQ) within MicroTx Workflows or to listen to external message brokers, such as Kafka.
- Start running a workflow
- Terminate a workflow
- Complete a task
- Fail a task
Prerequisites
Depending on the type of message broker, you must set
txeventq.enabled or kafka.enabled to
true in the values.yaml file. This enables
event handlers to listen to the message brokers. For Kafka message broker, specify a
comma-separated list of addresses of bootstrap servers to access Kafka brokers. See
Event Handler Configuration in MicroTx
Installation and Configuration Guide.
Parent topic: Manage Event Handlers