hivemq / hivemq-mqtt-client

HiveMQ MQTT Client is an MQTT 5.0 and MQTT 3.1.1 compatible and feature-rich high-performance Java client library with different API flavours and backpressure support
https://hivemq.github.io/hivemq-mqtt-client/
Apache License 2.0
824 stars 153 forks source link

Unexpected behaviour when subscribing to same topic regular and $shared #636

Open HerrDerb opened 1 week ago

HerrDerb commented 1 week ago

🐛 Bug Report

When subscribing to a topic once normal and once as shared, the incoming messages are notified twice for each subscription.

🔬 How To Reproduce

Subscribe to topics:

Send message on topic myTopic Each subscription will be notified twice.

📈 Expected behavior

Expected would be on invocation of each subscription.

📎 Additional context

Version: 1.3.3