-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi,
Tried to play by following the advice, run two subs, and one sub, but one receiver only received 1st msg, the other one could get several ones, then no messages received,
Is it related to Mosquitto qos? if so, how to set it in Client API? any advice?
I tried on Vagrant-based Ubuntu on Mac and directly on Mac. got the similar issue
Tried mosquitto_sub/mosquitto_pub, it works well, even without specifying -q
$TOPIC=foo PORT=4000 node pub
to "foo": hello
to "foo": world
to "foo": hi,
to "foo": hell
to "foo": hi,
1st terminal only received the 1st msg, no more
$TOPIC=foo PORT=4000 node sub
hello
2nd terminal received first several msg, then nothing
$ TOPIC=foo PORT=4000 node sub
hello
world
hi,
Metadata
Metadata
Assignees
Labels
No labels