diff --git a/mica-mqtt-spring-boot-example/pom.xml b/mica-mqtt-spring-boot-example/pom.xml index e1d28576ab3688cb171a8591d096cce9b07ffad4..fe87e4c6d5299b891aff25af3fbd105b22746b08 100644 --- a/mica-mqtt-spring-boot-example/pom.xml +++ b/mica-mqtt-spring-boot-example/pom.xml @@ -16,7 +16,7 @@ 1.8 2.5.3 - 1.0.3-RC + 1.0.5 2.5.3 diff --git a/mica-mqtt-spring-boot-example/src/main/resources/application-dev.yml b/mica-mqtt-spring-boot-example/src/main/resources/application-dev.yml index c190482097e5f4b5c266af2837aceaee4117398d..d1e5bd54c3ef545adcd8fbfb1fbe034d123a5aea 100644 --- a/mica-mqtt-spring-boot-example/src/main/resources/application-dev.yml +++ b/mica-mqtt-spring-boot-example/src/main/resources/application-dev.yml @@ -9,6 +9,8 @@ mqtt: read-buffer-size: 8092 # 接收数据的 buffer size,默认:8092 max-bytes-in-message: 8092 # 消息解析最大 bytes 长度,默认:8092 debug: true # 如果开启 prometheus 指标收集建议关闭 + websocket-enable: true # 是否开启 websocket,默认: true + websocket-port: 8083 # websocket 端口,默认:8083 client: enabled: true # 是否开启客户端,默认:false 使用到的场景有限,非必要请不要启用 ip: 127.0.0.1 # 连接的服务端 ip ,默认:127.0.0.1