Stream Data From tenefit.cloud

Clients connect to tenefit.cloud using standard Server-Sent Events.

From an app you've defined in tenefit.cloud Console, choose an SSE endpoint that you want to use:

Choose an endpoint

Use that SSE endpoint when creating the EventSource:

const stream = new EventSource(
"https://2oh1lmtk.streaming.tenefit.cloud/topic/sandbox.stocks",
);

See the Javascript Starter Template for a full client application that you can start with. Just substitute your own endpoint URL when creating the EventSource.