Open Leo6Leo opened 6 months ago
It is a bit frustrating when I went over the MQTT samples. As there is lack of documentation.
Providing the sample command like the one below would help and save a lot of time.
mosquitto_pub -t 'test-topic' -m '{"specversion" : "1.0","type" :"com.example.someevent","id" : "1234-1234-1234","source" : "/mycontext/subcontext","data":{"msg":"hello world!"}}' -D PUBLISH user-property Content-Type application/cloudevents+json; charset=utf-8
For more context, see the discussion here
It is a bit frustrating when I went over the MQTT samples. As there is lack of documentation.
Providing the sample command like the one below would help and save a lot of time.
For more context, see the discussion here