Skip to content
ⓘDiffusion release strategy information

Using Diffusion with MQTT clients ​

Diffusion server supports the MQTT protocol version 5.0, allowing access to many of Diffusion's powerful server features through a rich ecosystem of existing clients and systems.

Benefits ​

When compared to a standard MQTT broker, Diffusion server provides:

  • Server-side data processing using Topic Views
  • Diffusion's fine grained security model
  • Automatic topic removal and missing topic notifications
  • Ability to control MQTT sessions from clients developed with the Diffusion SDKs
  • High-availability deployments and scaling
  • Monitoring and management using the Diffusion management console, JMX and/or Prometheus

MQTT clients are available for a variety of languages and devices, allowing easy integration for publish/subscribe use cases.

Limitations ​

Compared to a Diffusion SDK, MQTT clients do not benefit from the same topic compression, delta streaming and reliable reconnection features.

Additionally, the following Diffusion features are not available through MQTT:

  • Request-response messaging
  • Topic control, session control and server administration features
  • Advanced time series topic features (subscribing and appending events are supported)

DiffusionData does not provide technical support for third-party MQTT clients.

Usage ​

Diffusion supports MQTT connections without additional configuration. For more information on what types of connections are supported, QoS, and how datatypes are transformed, please consult the Diffusion manual.