提交 6e34ae57 编写于 作者: 浅梦2013's avatar 浅梦2013

📝 添加日志,避免遗忘

上级 945694a4
......@@ -74,6 +74,7 @@ public class InMemoryMqttSessionManager implements IMqttSessionManager {
@Override
public Integer searchSubscribe(String topicName, String clientId) {
// 服务端发布时查找是否有订阅,只要证明有订阅即可
// 1. 如果订阅的就是普通的 topic
ConcurrentMap<String, Integer> subscribeData = subscribeStore.get(topicName);
if (subscribeData != null && !subscribeData.isEmpty()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册