thulab / iotdb

This repository is ReadOnly now. please go to https://github.com/apache/incubator-iotdb
Apache License 2.0
19 stars 0 forks source link

Considering MQTT protocol support #541

Open jixuan1989 opened 5 years ago

jixuan1989 commented 5 years ago

MQTT has been widely used in IoT area. Supporting MQTT protocol is good for industrial users.

  1. The postback module can run as a MQTT client to send data to the server.

  2. The IoTDB can run as a MQTT server to receive data directly.

We just need to focus on how to understand the format of data packet with MQTT protocol, rather than the full functions that MQTT protocol defines.

liukun4515 commented 5 years ago

This feature should not be embedded in IoTDB server. We can add an IoTDB extension to support this feature. The function of the extension:

  1. receive MQTT message
  2. convert the message to the request which can send to iotdb server
  3. send the iotdb request as the iotdb client