Icon for KubeEdgeIcon for Mosquitto

KubeEdge and Mosquitto Integration

Integrates withCurated

KubeEdge's EventBus component provides native MQTT client capabilities that enable seamless integration with MQTT brokers like Mosquitto. This integration is fundamental to KubeEdge's device communication architecture.

How it works

The EventBus runs on edge nodes and acts as an MQTT client, connecting to MQTT brokers (typically Mosquitto) deployed either at the edge or in the cloud. This enables:

  • Bi-directional communication between edge applications and IoT devices
  • Standard MQTT publish/subscribe patterns for device data
  • Integration with the broader KubeEdge device management ecosystem through DeviceTwin

Architecture

IoT Devices → MQTT → Mosquitto → EventBus → DeviceTwin → CloudHub → Kubernetes API

Use cases

  • Industrial sensors publishing telemetry data to edge applications
  • Edge applications sending control commands to actuators
  • Device status synchronization between edge and cloud
  • Integration with existing MQTT-based IoT deployments

Configuration

KubeEdge can be configured to use an existing Mosquitto broker or deploy one as part of the edge node setup. The EventBus connects to the configured MQTT broker and handles message routing between devices and the KubeEdge management plane.