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).
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