zer0black / zer0mqttserver Goto Github PK
View Code? Open in Web Editor NEW使用Java AIO实现的MQTT协议服务器,用于推送和IM聊天
License: GNU General Public License v2.0
使用Java AIO实现的MQTT协议服务器,用于推送和IM聊天
License: GNU General Public License v2.0
期待阁下的即时通讯功能
jdbc:mysql://10.0.3.12/zer0mqtt
您好,我之前运行有问题,给您发过邮件,后来发现在sendPubRec函数中:
Message pubRecMessage = MqttMesageFactory.newMessage(
FixedHeader.getPubAckFixedHeader(), new PacketIdVariableHeader(packetId), null);
getPubAckFixedHeader应该是getPubRecFixedHeader。
感谢您的代码分享,对我学习MQTT协议及Netty有很大帮助,谢谢!
对于SubscribeStore(订阅储存类),我看了您的代码,并没有发现存储与db有联系,我想知道主题信息是存储在那里的,希望您能帮我解答一下
楼主还维护吗?
当payload消息体clientId判断为null的时候,不是因该直接mqttConnAckMessage消息应答返回
CONNECTION_REFUSED_IDENTIFIER_REJECTED吗?
为什么看你的代码中,会要再拿cleanSession判断,cleanSession为true时,人为的往消息里面设置一个随机的ClientId
然道在客户端和服务端连接的时候,业务允许ClientId为空吗?这里有点疑惑
现在这个产品有没有正式的项目验证,你们下一步的计划是什么?
我看netty官网最新才4.X啊。。。另外之前AIO不好吗?开源**还有个t-io据说性能很强,方便加qq交流吗?
netty框架中,已经集成了 new MqttDecoder()和new MqttDecoder(),为什么要自己再写一套?有什么用意吗?
我启动了一个TCPServer 我怎么向客户端发消息呢,谢谢大佬!!!!
聂永先生,您好。
我目前在工作中,需要用到MQTT通信协议交互框架来完成某些开发任务。
我自己目前对MQTT通信协议交互框架不怎么懂,看官方文档也是一知半解,感觉看了也不是很明白。
您有关于学习MQTT通信协议交互框架的视频资料么? 可否分享一份?谢谢
最后,您能够指点一下我如何去学习、实践MQTT通信协议交互框架,那就更棒了,哈哈。(^__^)
jdbc:mysql://10.0.3.12/zer0mqtt
项目还在继续维护吗?
请问客户端发送PUBACK消息怎么发? 我只看到你服务端发送PUBACK ,客户端没有发送PUBACK消息!!
是否支持Last Will特性?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.