You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are setting up permissions for all of our MQTT users and want to test out if the user can't really access certain queues without the correct permission. But when I used client.publish(topic, payload, {qos: 1}) it just tries to keep sending it.
When I changed it to {qos: 0}, it fired and forgot. I also tried wrapping it in a try-catch statement, but I'm not catching anything.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are setting up permissions for all of our MQTT users and want to test out if the user can't really access certain queues without the correct permission. But when I used
client.publish(topic, payload, {qos: 1})
it just tries to keep sending it.When I changed it to
{qos: 0}
, it fired and forgot. I also tried wrapping it in a try-catch statement, but I'm not catching anything.Please advise.
Beta Was this translation helpful? Give feedback.
All reactions