若二维码过期,可留言反馈,我们将在第一时间更新。
已过期
已更新
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
实测会掉线。(1)发送过信息时,约3分钟出现:已断开连接,无法发送消息。(2)仅连接未发送消息时,服务器端不会出现任何提示,但客户端无法发送消息,点击发送提示连接已断开。
测试环境及测试工具,单机本地启运Bootstrap,测试工具为第三方MQTT客户端 MQTTX(keeplive=60s,协议为3.1.1)
smart-socket server started on port 1883,threadNum:16
smart-socket server config is IoServerConfig{readBufferSize=4096, writeBufferSize=128, writeBufferCapacity=16, host='null', monitor=org.smartboot.mqtt.broker.MqttBrokerMessageProcessor@3f8f9dd6, port=1883, backlog=1000, processor=org.smartboot.mqtt.broker.MqttBrokerMessageProcessor@3f8f9dd6, protocol=org.smartboot.mqtt.common.protocol.MqttProtocol@aec6354, bannerEnabled=false, socketOptions=null, threadNum=16, bufferFactory=org.smartboot.socket.buffer.BufferFactory$$Lambda$8/1299641336@1c655221, aioEnhance=true}
_ _ _ _ _
( )_ ( )_ ( )_ ( ) ( )
___ ___ ___ _ _ _ __ | ,) ___ ___ _ _ | ,)| ,) | | _ __ _ | |/') __ _ __
/',)/' _ _
\ /')( '__)| | /' _
_ \ /'_
)| | | | | '\ ( '__)/'_
\ | , < /'\( '__) \__, \| ( ) ( ) |( (_| || | | |_ | ( ) ( ) |( (_) || |_ | |_ | |_) )| | ( (_) )| |\
\ ( /| |
(/() () ()\__,_)(_)
_) () () ()\__, |
_)\__) (_,__/'(_)
___/'() ()`_)()
| |
()
:: smart-mqtt broker:: (v0.7)
❤️Gitee: https://gitee.com/smartboot/smart-mqtt
Github: https://github.com/smartboot/smart-mqtt
🎉start smart-mqtt success! [port:1883]
messageType:CONNECT
[2022-10-24 21:48:26] [smart-socket:Thread-1] INFO ConfiguredAuthenticationServiceImpl - auth success, ip:activate.navicat.com clientId: null, username: brokerusername
messageType:SUBSCRIBE
messageType:PUBLISH
dosav_playload:{
"msg": "hello"
}
BrokerTopic:test1
[2022-10-24 21:49:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 1.02996826171875E-4(MB)
outflow: 8.58306884765625E-6(MB)
process fail: 0
process count: 3
process total: 3
read count: 4 write count: 2
connect count: 1
disconnect count: 0
online count: 1
connected total: 1
Requests/sec: 0.05
Transfer/sec: 1.71661376953125E-6(MB)
messageType:PINGREQ
MqttPingReqMessage——1:
[2022-10-24 21:50:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 1.9073486328125E-6(MB)
outflow: 1.9073486328125E-6(MB)
process fail: 0
process count: 1
process total: 4
read count: 1 write count: 1
connect count: 0
disconnect count: 0
online count: 1
connected total: 1
Requests/sec: 0.016666666666666666
Transfer/sec: 3.178914388020833E-8(MB)
messageType:PINGREQ
MqttPingReqMessage——1:
[2022-10-24 21:50:32] [smart-socket:Thread-1] WARN MqttBrokerMessageProcessor - process exception
org.smartboot.mqtt.common.exception.MqttProcessException: 已断开连接,无法发送消息:org.smartboot.mqtt.broker.MqttSession@75ed0a78
org.smartboot.mqtt.common.exception.MqttProcessException: 已断开连接,无法发送消息:org.smartboot.mqtt.broker.MqttSession@75ed0a78
messageType:CONNECT
[2022-10-24 21:51:05] [smart-socket:Thread-2] INFO ConfiguredAuthenticationServiceImpl - auth success, ip:activate.navicat.com clientId: null, username: brokerusername
messageType:SUBSCRIBE
[2022-10-24 21:51:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 7.724761962890625E-5(MB)
outflow: 8.58306884765625E-6(MB)
process fail: 1
process count: 3
process total: 7
read count: 3 write count: 2
connect count: 1
disconnect count: 1
online count: 1
connected total: 2
Requests/sec: 0.05
Transfer/sec: 1.2874603271484376E-6(MB)
[2022-10-24 21:52:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 0.0(MB)
outflow: 0.0(MB)
process fail: 0
process count: 0
process total: 7
read count: 0 write count: 0
connect count: 0
disconnect count: 1
online count: 0
connected total: 2
Requests/sec: 0.0
Transfer/sec: 0.0(MB)
[2022-10-24 21:53:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 0.0(MB)
outflow: 0.0(MB)
process fail: 0
process count: 0
process total: 7
read count: 0 write count: 0
connect count: 0
disconnect count: 0
online count: 0
connected total: 2
Requests/sec: 0.0
Transfer/sec: 0.0(MB)
[2022-10-24 21:54:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 0.0(MB)
outflow: 0.0(MB)
process fail: 0
process count: 0
process total: 7
read count: 0 write count: 0
connect count: 0
disconnect count: 0
online count: 0
connected total: 2
Requests/sec: 0.0
Transfer/sec: 0.0(MB)
messageType:CONNECT
[2022-10-24 21:54:22] [smart-socket:Thread-3] INFO ConfiguredAuthenticationServiceImpl - auth success, ip:activate.navicat.com clientId: null, username: brokerusername
messageType:SUBSCRIBE
[2022-10-24 21:55:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 7.534027099609375E-5(MB)
outflow: 8.58306884765625E-6(MB)
process fail: 0
process count: 2
process total: 9
read count: 3 write count: 2
connect count: 1
disconnect count: 0
online count: 1
connected total: 3
Requests/sec: 0.03333333333333333
Transfer/sec: 1.2556711832682292E-6(MB)
[2022-10-24 21:56:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 0.0(MB)
outflow: 0.0(MB)
process fail: 0
process count: 0
process total: 9
read count: 0 write count: 0
connect count: 0
disconnect count: 1
online count: 0
connected total: 3
Requests/sec: 0.0
Transfer/sec: 0.0(MB)
[2022-10-24 21:57:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 0.0(MB)
outflow: 0.0(MB)
process fail: 0
process count: 0
process total: 9
read count: 0 write count: 0
connect count: 0
disconnect count: 0
online count: 0
connected total: 3
Requests/sec: 0.0
Transfer/sec: 0.0(MB)
[2022-10-24 21:58:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 0.0(MB)
outflow: 0.0(MB)
process fail: 0
process count: 0
process total: 9
read count: 0 write count: 0
connect count: 0
disconnect count: 0
online count: 0
connected total: 3
Requests/sec: 0.0
Transfer/sec: 0.0(MB)
[2022-10-24 21:59:08] [Quick Timer] INFO MonitorPlugin -
-----60seconds ----
inflow: 0.0(MB)
outflow: 0.0(MB)
process fail: 0
process count: 0
process total: 9
read count: 0 write count: 0
connect count: 0
disconnect count: 0
online count: 0
connected total: 3
Requests/sec: 0.0
Transfer/sec: 0.0(MB)
已过期
已更新
登录 后才可以发表评论