Hivemq tdengine extension user’s Guide


Let’s briefly introduce the deployment and usage of hivemq extension for tdengine.

Tdengine and hivemq deployment methods


Just install the latest tdengine server. See official document:


Install enterprise version (need to apply for trial license) or community version (hivemq Community Edition), right. See official document:

Compilation and deployment of hivemq tdengine plug-in

  1. git clone
  2. cd TDengine && git submodule update --init --recursive
  3. cd src/connector/hivemq-tdengine-extension && mvn clean && mvn package
  4. Unzip the packaged package, such as hivemq tdengine extension – {version} – distribution. Zip, to the extensions folder of hivemq directory. If hivemq is already running, you need to stop the hivemq background service first, otherwise hivemq will prohibit the plug-in from running, and you need to manually delete the disabled file to make the plug-in work.
  5. Modify the tdengine.xml configuration file in the plug-in package to the actual database information.
  6. There is no need to create the database and table manually. When the plug-in starts, it will create the database and table automatically


Running hivmq


send out Mqtt message

Use the popular mqtt software mosquito to send mqtt messages for test demonstration

mosquitto_pub -t test -m “hello world”

verificationLog in to tdengine through Taos client to check whether the verification record is written

Hivemq tdengine extension user's Guide