tocrhz / mqtt-spring-boot-starter

MQTT starter for Spring Boot, easier to use.
Apache License 2.0
92 stars 47 forks source link

不支持$queue模式 #24

Open xiaochonzi opened 3 months ago

xiaochonzi commented 3 months ago

@MqttSubscribe(value = "$queue/online/+", qos = 1) 这种共享订阅加了$queue后, topicPair好像没有办法match到

tocrhz commented 3 months ago

需服务端支持,比如用emqx-v3.x,emqx-v4.x,在emqx新版本(v5.x)就没这种写法了,如果拿不准可以用注解里的参数,在注解源码里有描述

---原始邮件--- 发件人: @.> 发送时间: 2024年6月10日(周一) 下午3:56 收件人: @.>; 抄送: @.***>; 主题: [tocrhz/mqtt-spring-boot-starter] 不支持$queue模式 (Issue #24)

@MqttSubscribe(value = "$queue/online/+", qos = 1) 这种共享订阅加了$queue后, topicPair好像没有办法match到

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>