mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-26 13:48:53 +08:00

* resolve merge conflicts Signed-off-by: aryan <aryangodara03@gmail.com> * change remaining require with assert Signed-off-by: aryan <aryangodara03@gmail.com> * replace assert with require, whenever required. Signed-off-by: aryan <aryangodara03@gmail.com> * fix failing tests Signed-off-by: aryan <aryangodara03@gmail.com> * resolve assert and require Signed-off-by: aryan <aryangodara03@gmail.com> * revert groups_test Signed-off-by: aryan <aryangodara03@gmail.com> --------- Signed-off-by: aryan <aryangodara03@gmail.com>
Messaging
messaging
package defines Publisher
, Subscriber
and an aggregate Pubsub
interface.
Subscriber
interface defines methods used to subscribe to a message broker such as MQTT or NATS or RabbitMQ.
Publisher
interface defines methods used to publish messages to a message broker such as MQTT or NATS or RabbitMQ.
Pubsub
interface is composed of Publisher
and Subscriber
interface and can be used to send messages to as well as to receive messages from a message broker.