Yes, the configuration steps you mentioned should be sufficient:
Create a real-time data flow with a Stream data set.
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:
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.
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.",
This is a GenAI-powered tool. All generated answers require validation against the provided references.