Posted: 26 Apr 2020 9:26 EDT Last activity: 3 May 2020 4:57 EDT
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?