Close popover
Ratan Balaji (Ratan)
Lead Consultant
Ratan Member since 2015 59 posts
Posted: April 26, 2020
Last activity: May 3, 2020

What's the recommended method to integrate with a stream data set?

The stream dataset help file says the following:

It is recommended that you use a Pega REST connector rule to populate the Stream data set with external data. Besides the Pega REST connector rule, a Stream data set also exposes REST and WebSocket endpoint, however it is recommended that you use a Pega REST connector rule instead whenever possible.

Here, what does Pega REST connector rule mean? Is it recommended to make use of the OoTB REST API (DatasetDetails) that allows to get results from datasets?

In general, websockets seem to have better performance and reliability when compared with REST APIs as they are better suited for stream data. Having said that, why is Pega recommending to make use of REST APIs instead of the web sockets that come along with the stream data sets?

Thanks in advance.

Pega Marketing 8.3 Decision Management Communications and Media Lead System Architect Marketing Consultant Decisioning Consultant