FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
iotdb/example/mqtt at master · Alchuang22-dev/iotdb · GitHub
Alchuang22-dev
/
iotdb
Public
forked from
apache/iotdb
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
iotdb
/
example
/
mqtt
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
Breadcrumbs
iotdb
/
example
/
mqtt
/
Copy path
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
src/
main/
java/
org/
apache/
iotdb/
mqtt
src/
main/
java/
org/
apache/
iotdb/
mqtt
README.md
README.md
pom.xml
pom.xml
README.md
Outline
IoTDB-MQTT-Broker Example
Function
The example is to show how to send data to IoTDB from a mqtt client.
Usage
Update configuration to enable MQTT service. (enable_mqtt_service=true in iotdb-datanode.properties)
Launch the IoTDB server.
Setup database CREATE DATABASE root.sg and create time timeseries CREATE TIMESERIES root.sg.d1.s1 WITH DATATYPE=DOUBLE, ENCODING=PLAIN.
Run org.apache.iotdb.mqtt.MQTTClient to run the mqtt client and send events to server.
Back
|
FazBrowse Home
|
New Git URL