Skip to content

Docs: add a Python MQTT publishing example - #19351

Open
wozhenbang2004 wants to merge 1 commit into
apache:masterfrom
wozhenbang2004:docs-python-mqtt-example
Open

wozhenbang2004 wants to merge 1 commit into
apache:masterfrom
wozhenbang2004:docs-python-mqtt-example

Conversation

@wozhenbang2004

Copy link
Copy Markdown

Refs #8407.

Add a Python example to example/mqtt with the JSON payload formatter, a non-empty client ID and a SQL query to verify the stored value.

Ran the README example with Paho MQTT 2.1.0 against IoTDB 2.0.12 on Windows. The CLI returned 37.5 from root.sg.d1.s1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant