提交 420af542 编写于 作者: 浅梦2013's avatar 浅梦2013

📝 修复文档错误

上级 48d8296c
# 升级指南
## 迁移到 mica-mqtt 2.1.0
## 迁移到 mica-mqtt 2.1.x
- `mica-mqtt-core` 拆分成了 `mica-mqtt-client``mica-mqtt-server`,避免一些依赖引用问题。
- `ByteBufferUtil``net.dreamlu.iot.mqtt.codec.ByteBufferUtil` 移动到了 `org.tio.utils.buffer.ByteBufferUtil`
......@@ -24,6 +24,7 @@ client.subQos0("/test/#", (context, topic, message, payload) -> {
#### 1.2 SSL 双向认证支持
```yaml
mica:
client:
ssl:
enabled: false # 是否开启 ssl 认证,2.1.0 开始支持双向认证
keystore-path: # 可选参数:ssl 双向认证 keystore 目录,支持 classpath:/ 路径。
......@@ -61,6 +62,7 @@ void onMessage(ChannelContext context, String clientId, String topic, MqttQoS qo
#### 2.2 ssl 双向认证支持
```yaml
mica:
server:
ssl: # mqtt tcp ssl 认证
enabled: false # 是否开启 ssl 认证,2.1.0 开始支持双向认证
keystore-path: # 必须参数:ssl keystore 目录,支持 classpath:/ 路径。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册