Do you want to run a workflow from a Kafka message? This kind of hook is for you.
This kind of hook will connect to a Kafka topic and consume messages. For each message, it will trigger your workflow.
The Kafka message have to be in JSON format. It will be used as a payload for your workflow. See payload documentation.
Notice that Kafka communication is done using SASL and TLS enable only.
On your CDS Project, select the platforms section then add a Kafka platform.
Click on the pipeline root of a workflow, then choose ‘Add a Hook’ on the sidebar
Select the Kafka Hook and complete the information:
The workflow will be triggered for all messages received in Kafka queue.
If you don’t want to launch the root pipeline for each message, you can add a run condition.