JavaScript

Use the Kafkorama JavaScript SDK to connect, subscribe, and publish to real-time Streaming API endpoints.

The Kafkorama JavaScript SDK provides all the tools needed to build real-time applications for web and hybrid environments.

In Kafkorama, subjects serve directly as Streaming API endpoints. This SDK enables your application to interact with those endpoints in real time.

With this SDK, you can:

  • Connect to a cluster of one or more Kafkorama Gateway nodes
  • Subscribe to one or more Streaming API endpoints (subjects) and receive real-time updates
  • Publish real-time messages to subjects
  • Handle connection lifecycle events and errors
  • Use it in both browser and Node.js environments

This SDK is ideal for real-time, event-driven apps with many concurrent users.

To get started, follow the Run with Docker guide to launch a local Kafkorama instance. Below, you’ll find installation instructions, usage examples, and SDK references:

© 2025 MigratoryData. All rights reserved.