Reputation: 132
When a message (MQTT (3.1) QoS1) that does not have a client consuming the underlying topic is physically removed from the KahaDB ActiveMQ (5.15) database?
Example 01:
Example 02:
Upvotes: 0
Views: 92
Reputation: 35008
When there is no consumer/subscriber on a topic and a message is sent to that topic then the message is simply discarded. It is never actually stored on disk physically.
When there is a consumer/subscriber on a topic and a message is sent to that topic then the message will be physically stored on disk and only removed when that message is acknowledged.
Upvotes: 0