messaging - Publish/Subscribe pattern with subscriber response -
is possible in publish/subscribe pattern?
- a publisher publishes message topic;
- subscriber(s) receive(s) message;
- the subscribers reply publisher custom message.
is step 3 possible? i'm designing system use mqtt protocol (communication between smartphones , microcontrollers). however, subscriber needs send answer publisher other acknowledged message.
there no way directly reply message in mqtt system, there nothing stop using 2 topics (outboud/inbound) , including message id in payload of message identify reply original published message
Comments
Post a Comment