MQTT protocol

The MQTT protocol provides a method for loading JSON data in HCL OneDB™.

The MQTT protocol is a light-weight messaging protocol that you can use to load data from devices or sensors. For example, you can use the MQTT protocol to publish data from sensors into a time series table.

When you define the wire listener type as mqtt, you can insert JSON documents to the database by sending PUBLISH packets. The MQTT wire listener does not support querying data with SUBSCRIBE packets.

This graphic depicts the MongoDB and MQTT clients that connect to the HCL OneDB server through the wire listener.