Question

5
Replies
51
Views

Kafka dataset in a real time dataflow in Pega 8.3

Hi All,

I have configured kafka connection and created kafka datasets for topics in my broker. Everything looks fine till now. I am working on two scenarios.

Scenario 1: Pega as a publisher: It is working as expected. I am able to push the data to a particular topic in pega using a data flow. No issues till now.

Scenario 2: Pega as a subscriber: I created a real time data flow run and initiated it. Now I am calling an activity at the destination of the data flow. I used a log step to check whether the message is received or not. Now, I started sending messages into the Kafka topic which is configured. It is streaming and the log is coming as expected.

And now, I am sending JSON text into the topic. How do I read it from the data flow destination activity? What is the page context of the input messages from the topic? I think I am missing something.

Please let me know. Thanks in advance