http://xxx:8081/api/v4/mqtt/publish post 连续请求三次程序退出, 已测试会在桥接的情况下发生。
{
“topic”: “/a/b/c”,
“payload”: “Hello World”,
“qos”: 1,
“retain”: false,
“clientid”: “example”,
“properties”: {
“user_properties”: {
“id”: 10010,
“name”: “name”,
“foo”: “bar”
},
“content_type”: “application/json”
}
}
2024-04-25 19:04:01 [28218] INFO /home/econe/dev/nanomq/nanomq/apps/broker.c:326 server_cb: bridge client is connected!
2024-04-25 19:05:01 [28218] INFO /home/econe/dev/nanomq/nng/src/mqtt/protocol/mqtt/mqtt_client.c:627 mqtt_timer_cb: Send pingreq (sock0x55996d44f8)(60000ms)
2024-04-25 19:05:58 [28228] ERROR /home/econe/dev/nanomq/nanomq/apps/broker.c:104 sig_handler: signal signumber: 11 received!