MicroPython

Use the Kafkorama MicroPython SDK to publish and subscribe to Streaming API endpoints on IoT and edge devices.

The Kafkorama MicroPython SDK enables developers to build real-time applications for constrained environments such as microcontrollers and embedded systems.

In Kafkorama, subjects are the Streaming API endpoints. This SDK allows your MicroPython-based devices to interact with those endpoints by publishing and subscribing to messages in real time.

With this SDK, you can:

  • Connect lightweight devices to a Kafkorama Gateway cluster
  • Subscribe to Streaming API endpoints (subjects) to receive real-time data
  • Publish messages from sensors or controllers to subjects
  • Handle connection status and basic error scenarios
  • Run efficiently on microcontrollers such as ESP32 or STM32

This SDK is ideal for IoT, automation, and edge computing scenarios where memory and CPU are limited but real-time communication is essential.

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.