Passing message content to graph when using the Kafka Event Listener

Support/help with CloverETL (4.9) and CloverDX (5.0 or newer) implementation problems

Bea95
Posts: 6
Joined: Mon Mar 15, 2021 4:44 pm

Passing message content to graph when using the Kafka Event Listener

Postby Bea95 » Mon May 17, 2021 2:45 pm

Hi there

I'm trying to create a workflow that is triggered when a message is written to a kakfa topic and depending whether an id is present in the message, run the rest of the graph. When using the Kafka event listener, is it possible to also pass the message that triggered the event to the graph as well?

Thanks!

cholastal
Posts: 142
Joined: Tue Sep 01, 2015 1:22 pm

Re: Passing message content to graph when using the Kafka Event Listener

Postby cholastal » Tue May 18, 2021 1:24 pm

Hi Bea95,

The Kafka Message Listener is basically really only listening for a new message. It is not committing any read action and basically not really reading the message. The reading action itself needs to be done in the job that is executed by the listener. Therefore, when you start reading from the same topic in the consecutive job and the previous messages have been committed, the first message that you get is the message that triggered the listener.

Let me know if that answers your question, please.

Best regards.

---
Lukas Cholasta
CloverCARE Support
CloverDX

Visit us online at http://www.cloverdx.com


cron