-
Describe the bugRabbitMQ sends MQTT messages on connect to the client without a subscription. Reproduction steps
... Expected behaviorIntended behavior should be, only if the client subscribes to the topic, the messages are sent to the client. Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, thanks for using RabbitMQ. Team RabbitMQ has a community support policy that specifies that, in order to receive free support, you must "provide detailed and well researched issue reports". Please provide a client application we can clone, compile, and run to observe this behavior. By doing so, you save us time in reproducing this behavior so we can focus on analyzing it. @ansd may be able to make sense of what is going on by reading the prose description here. |
Beta Was this translation helpful? Give feedback.
@lukebakken @Kremr in step 8. does the client connect with
clean_session=true
orclean_session=false
? One way or the other, RabbitMQ behaves correctly because ifclean_session=false
, the old subscriptions are intact and therefore RabbitMQ sends the messages, and ifclean_session=true
the old session state including messages must be discarded.