Hi Yuan,
Are you working with a VANTIQ edge node on your laptop? Is there an MQTT broker running at 127.0.0.1:1883 on your laptop or edge node? Only in this circumstance will you be able to communicate with a MQTT broker running locally at 127.0.0.1. If you are testing the source with a VANTIQ cloud then “localhost” does not have much meaning – it means something that is “local” to the cloud servers
Vantiq maintains its own broker that you can publish and subscribe to:
Server URI: tcp://public.vantiq.com:1883
Topic: com.vantiq.sensor.sample
After you create a SOURCE with the above properties you can click on Test Data Receipt and you should see test data being read for id (id), timestamp (ts) and voltagelevel (vl).
Ken
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Hello,
I wanted to create an mqtt in and out flow. Tried creating an mqtt source with server uri tcp://localhost:1883 but it is not able to connect. Any suggestion about it?
Attachments:
You must be logged in to view attached files.