We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test
- [2022/12/28 06:38:01] - socket size: 2 - [2022/12/28 06:38:01] - id my-broker - [2022/12/28 06:38:01] - clients 2 - [2022/12/28 06:38:01] - log 0 2022-12-28T06:38:00.705Z info [ 'onPublish', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 1 2022-12-28T06:38:00.704Z info [ 'onPublish', null ] - [2022/12/28 06:38:01] - log 2 2022-12-28T06:37:59.703Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 3 2022-12-28T06:37:59.703Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 4 2022-12-28T06:37:59.701Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 5 2022-12-28T06:37:59.700Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 6 2022-12-28T06:37:55.737Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 7 2022-12-28T06:37:55.736Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 8 2022-12-28T06:37:55.696Z info [ 'onPublish package', { cmd: 'publish', retain: false, qos: 0, dup: false, length: 46, topic: 'test', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 9 2022-12-28T06:37:50.704Z info [ 'onPublish', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 10 2022-12-28T06:37:50.704Z info [ 'onPublish', null ] - [2022/12/28 06:38:01] - log 11 2022-12-28T06:37:49.703Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 12 2022-12-28T06:37:49.703Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 13 2022-12-28T06:37:49.701Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 14 2022-12-28T06:37:49.701Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 15 2022-12-28T06:37:45.736Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 16 2022-12-28T06:37:45.736Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 17 2022-12-28T06:37:40.703Z info [ 'onPublish', null ] - [2022/12/28 06:38:01] - log 18 2022-12-28T06:37:40.703Z info [ 'onPublish', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 19 2022-12-28T06:37:39.701Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 20 2022-12-28T06:37:39.701Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 21 2022-12-28T06:37:39.700Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 22 2022-12-28T06:37:39.700Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 23 2022-12-28T06:37:38.252Z info [ null, 'publish', { topic: '$SYS/ae5b2443-bc1f-4fa3-8bcb-4beb6dd4855f/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 24 2022-12-28T06:37:37.356Z info [ 'onPublish', { topic: '$SYS/7cf1287e-18ce-49e2-9995-191d649509a9/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 25 2022-12-28T06:37:37.356Z info [ 'onPublish', null ] - [2022/12/28 06:38:01] - log 26 2022-12-28T06:37:35.736Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 27 2022-12-28T06:37:35.736Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 28 2022-12-28T06:37:30.704Z info [ 'onPublish', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 29 2022-12-28T06:37:30.703Z info [ 'onPublish', null ] - [2022/12/28 06:38:01] - log 30 2022-12-28T06:37:29.700Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 31 2022-12-28T06:37:29.700Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 32 2022-12-28T06:37:29.700Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 33 2022-12-28T06:37:29.699Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 34 2022-12-28T06:37:25.736Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 35 2022-12-28T06:37:25.736Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 36 2022-12-28T06:37:20.704Z info [ 'onPublish', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 37 2022-12-28T06:37:20.704Z info [ 'onPublish', null ] - [2022/12/28 06:38:01] - log 38 2022-12-28T06:37:19.701Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 39 2022-12-28T06:37:19.701Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 40 2022-12-28T06:37:19.699Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 41 2022-12-28T06:37:19.699Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 42 2022-12-28T06:37:15.736Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 43 2022-12-28T06:37:15.736Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 44 2022-12-28T06:37:10.704Z info [ 'onPublish', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 45 2022-12-28T06:37:10.704Z info [ 'onPublish', null ] - [2022/12/28 06:38:01] - log 46 2022-12-28T06:37:09.700Z info [ 'onPublish client', null ] - [2022/12/28 06:38:01] - log 47 2022-12-28T06:37:09.700Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 48 2022-12-28T06:37:09.698Z info [ 'onPublish package', { topic: '$SYS/my-broker/heartbeat', payload: { type: 'Buffer', data: [Array] } } ] - [2022/12/28 06:38:01] - log 49 2022-12-28T06:37:09.698Z info [ 'onPublish client', null ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
安装mqttx
设置2个mqtt连接
- 注意:Client ID不要重复 - 用户名和密码,服务器会忽略
配置2个链接,都监听一个topic
test
test
,发送消息服务器的日志
The text was updated successfully, but these errors were encountered: