REST

Use the Kafkorama REST SDK to publish, retrieve snapshot messages, and access historical data over HTTP.

The Kafkorama REST SDK provides a simple way to interact with real-time Streaming API endpoints using standard HTTP requests.

In Kafkorama, subjects serve as Streaming API endpoints. With the REST interface, you can integrate real-time messaging capabilities into environments that do not support WebSockets or persistent connections.

With this SDK, you can:

  • Send real-time messages to a subject using HTTP POST
  • Retrieve the latest snapshot message for a subject
  • Access a list of recent historical messages for a subject

This interface is ideal for serverless environments, backend services, or systems where WebSocket communication is not possible.

To get started, follow the Run with Docker guide to launch a local Kafkorama instance with the REST interface enabled. Below, you’ll find documentation and usage examples:

© 2025 MigratoryData. All rights reserved.