Subscribing to streaming analytics events via the JS SDK, but the Node consumer drops roughly 15% of messages during peak load. The onMessage handler logs nothing for the missing events, and no errors are thrown.
const client = new PureCloudPlatformClientV2();
client.login(...).then(() => {
const ws = client.getWebSocket('/v2/analytics/events');
ws.onMessage((data) => console.log(data)); // gaps here
});
Checked the network tab, the frames are arriving. Is there a buffer overflow in the SDK client?