How to consume other system's stream APIs in PEGA Application

Hi Team,

If we need to consume the stream APIS’s data of other non-pega application into pega application, then is below rules configuration is enough?

  1. creating the real-time dataflow having the stream data set,

  2. service rest rule with activity to save the stream APIS’s data of other non-pega application to stream dataset.

@Rakeshr7

Yes, the configuration steps you mentioned should be sufficient:

  1. Create a real-time data flow with a Stream data set.
  2. Use a Service REST rule with an activity to save the stream API’s data from the non-Pega application into the Stream data set.

Here are the steps you need to follow:

  1. Creating the Real-time Dataflow with the Stream Data Set: You need to create a Stream Data Set to read a continuous data stream. This involves selecting ‘Stream’ in the Type list and defining the class that represents the input data. The Stream Data Set will be used in your real-time dataflow.

  2. Service REST Rule with Activity: You need to define a Pega REST Service to expose the Stream Data Set to external systems. This includes creating a Service Package Rule for security and access, a Service REST Rule to expose the REST API, and an Activity Rule to save the incoming data to the Stream Data Set.\ Additionally, ensure that the partition key of the Stream Data Set matches the Event key defined in the real-time data shape on the Event Strategy. This setup will allow your Pega application to process the incoming data in real-time.",

:warning: This is a GenAI-powered tool. All generated answers require validation against the provided references.

Creating a Stream data set

Data set types > Stream

Triggering a real-time event with the SOAP, HTTP and REST services > Using a REST

Processing Real-time Stream Data