RabbitMQ MQTT Retained Messages on wildcard subscriptions #6971
-
Hi! Thanks in advance to anyone who reads and responds to this :D We are currently planning a move from HiveMQ to RabbitMQ for our MQTT processing to consolidate our infrastructure as we solely use RabbitMQ our internal communication. This potential problem is making us a bit hesitant to push forward. After some searching I have found some old posts from ca. 2017 on stack overflow that describe using wildcard subscriptions not playing nicely with retained messages. I have come across this issue now. My question in general is if there is a version existing that does support retained messages for wildcard subscriptions, and if there is not is this planned in with the native MQTT support work that I see is ongoing currently. For context, our backend services are interested in all devices we have in our infrastructure and each type of device has different sub properties that are split into sub topics e.g., DeviceType/DeviceProperty/ApiVersion/MAC Our backend service subscribes to topic DeviceType/DeviceProperty/ApiVersion/# We need to use retained messages as state updates from the devices are sporadic depending on what they are doing, but we still need to monitor and act on their current state when we bootstrap the backend service. Messages and subscribers are using QOS1 with static client ids for each subscriber and device (publisher which is always setting retained=true) Any comments are greatly appreciated! :D |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
No, there is no such version. All current work on MQTT is focused on making it more efficient #5895, so I'd not expect this to change for at least until mid-2023. |
Beta Was this translation helpful? Give feedback.
-
@avstudio2 @caiootaviano - please follow this issue: #8096 I am going to close this discussion as that issue is what everyone should be watching. |
Beta Was this translation helpful? Give feedback.
No, there is no such version. All current work on MQTT is focused on making it more efficient #5895, so I'd not expect this to change for at least until mid-2023.