Eventbus acts as an interface for sending/receiving messages on mqtt topics.
It supports 3 kinds of mode:
eventbus subscribes to the following topics:
Note: topic wildcards
|#||It must be the last character in the topic, and matches the current tree and all subtrees.|
|+||It matches exactly one item in the topic tree.|
1. eventbus receives messages from external client
2. eventbus sends response messages to external client
The flow is almost the same in internal mode except the eventbus is as message broker itself.