Catalyst Data Streams

Catalyst Data Streams enables you to publish live, event-based data through channels and deliver it instantly to subscribed clients or any third-party services. Once you create a channel from the Catalyst console, any published data to that channel is streamed in real time to all authorized subscribers over WebSocket connections.

Whether you are building live dashboards, notifications, activity feeds, or system monitors, Catalyst SDK provides you with the required APIs to publish, subscribe, and manage real-time data flow with minimal setup.

Install and Import the SDK

You must install the Data Streams package and import the required classes as shown below.

copy
const { DataStreams, DataStreamsWebSocket } = require("@zcatalyst/datastreams");

Get Component Instance

You can create a datastreams reference as shown below. This will not fire a server-side call. We will refer to this component instance while performing channel operations such as listing channels, publishing data, and generating WebSocket tokens.

copy
//Create a Data Streams instance
const datastreams = new DataStreams();

Last Updated 2026-10-05 20:43:57 +0530 IST

ON THIS PAGE

RELATED LINKS

Data Streams