Skip to content

Commit 287d8ff

Browse files
committed
docs: 发布 v1.0.7.RELEASE 版本
1 parent 9b27eba commit 287d8ff

File tree

5 files changed

+27
-22
lines changed

5 files changed

+27
-22
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<groupId>com.jun</groupId>
1212
<artifactId>mqttx</artifactId>
13-
<version>1.0.6.RELEASE</version>
13+
<version>1.0.7.RELEASE</version>
1414
<name>mqttx</name>
1515
<description>mqtt broker</description>
1616

readme.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
- [6.2 版本说明](#62-版本说明)
3232
- [6.2.1 v1.0](#621-v10)
3333
- [6.2.2 v1.1](#622-v11)
34+
- [6.2.3 v2.0](#623-v20)
3435
- [6.3 Benchmark](#63-benchmark)
3536
- [6.3.1 CleanSessionTrue](#631-cleansessiontrue)
3637
- [6.3.2 CleanSessionFalse](#632-cleansessionfalse)
@@ -42,6 +43,8 @@
4243

4344
### 1.1 快速开始
4445

46+
> 想通过 docker 快速体验?见 [docker 启动](#3-docker-启动)
47+
4548
1. 打包
4649
- 测试模式:运行 `mvnw -P test -DskipTests=true clean package`
4750

@@ -391,15 +394,15 @@ mqttx:
391394

392395
## 5 开发者说
393396

394-
1. **bug fix and optimization**,这个会一直继续的。
395-
396-
> **项目将长期维护**
397-
398-
2. 为了使 ***mqttx*** 项目变得更好,请使用及学习该项目的同学主动反馈使用情况给我(提 issue 或加群反馈)。
399-
400-
3. 版本 `v1.0.7.alpha` 预计二月下旬发布。
401-
402-
4. 交流群
397+
1. `v1.0` 版本分支将作为支持 **mqttv3.1.1** 协议版本持续迭代
398+
2. 为使 ***mqttx*** 项目变得更好,请使用及学习该项目的同学主动反馈使用情况给我(提 issue 或加群反馈)
399+
3. 后续工作
400+
- [x] `v1.0.7.RELEASE` 版本 ***Benchmark***
401+
- [x] `v1.0.8.RELEASE` 版本开发
402+
- [x] `v2.0.0.RELEASE` 版本开发
403+
- [x] bug 修复
404+
4. `v2.0` 版本分支将作为 **mqttv5** 协议版本开始迭代
405+
6. 交流群
403406

404407
<img src="https://s1.ax1x.com/2020/10/10/0ytoSx.jpg" alt="群二维码" height="300" />
405408

@@ -466,12 +469,10 @@ mqttx:
466469

467470
#### 6.2.1 v1.0
468471

469-
- **v1.0.8.RELEASE(待开发)**
470-
- [ ] [mqtt5](http://docs.oasis-open.org/mqtt/mqtt/v5.0/csprd02/mqtt-v5.0-csprd02.html) 支持
471-
- [ ] bug 修复及优化
472-
- **v1.0.7.RELEASE(开发中)**
473-
- [x] 增加序列化框架 ***Kryo*** 的支持
472+
- **v1.0.8.RELEASE(开发中)**
474473
- [ ] 消息集中持久化到 `redis hmap` 数据结构中,`PubMsg` 仅保存 `hmap` 中的 `payloadId`, 该优化目的在于防止消息膨胀导致的 redis 内存耗用过大。(之前版本消息都是持久化到客户端各自的 `PubMsg`)
474+
- **v1.0.7.RELEASE**
475+
- [x] 增加序列化框架 ***Kryo*** 的支持
475476
- [x] 系统主题新增客户端上下线通知主题
476477
- [x] 修复新增订阅触发 `retain` 消息后,消息分发给全部订阅者的 bug
477478
- [x] 修复遗嘱消息 `isWillRetain:true` 持久化的bug
@@ -504,9 +505,13 @@ mqttx:
504505

505506
#### 6.2.2 v1.1
506507

507-
- ***v1.1.0.RELEASE(开发中)***
508+
- **v1.1.0.RELEASE(停止开发)**
509+
- [ ] `redis` 同步转异步实现,提升性能
510+
511+
#### 6.2.3 v2.0
508512

509-
- [ ] `redis` 同步转异步实现,提升性能
513+
- **v2.0.0.RELEASE(开发中)**
514+
- [x] [mqtt5](http://docs.oasis-open.org/mqtt/mqtt/v5.0/csprd02/mqtt-v5.0-csprd02.html) 支持
510515

511516
### 6.3 Benchmark
512517

src/main/java/com/jun/mqttx/broker/handler/ConnectHandler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ public void process(ChannelHandlerContext ctx, MqttMessage msg) {
126126
if (variableHeader.hasPassword() && variableHeader.hasUserName()) {
127127
authenticationService.asyncAuthenticate(
128128
ClientAuthDTO.of(username, password),
129-
authentication -> proccess0(ctx, msg, authentication),
129+
authentication -> process0(ctx, msg, authentication),
130130
throwable -> {
131131
throw new AuthenticationException("登入失败", throwable);
132132
});
133133
} else {
134-
proccess0(ctx, msg, null);
134+
process0(ctx, msg, null);
135135
}
136136
}
137137

@@ -148,7 +148,7 @@ public void process(ChannelHandlerContext ctx, MqttMessage msg) {
148148
* @param msg 解包后的数据
149149
* @param auth 认证对象,见 {@link Authentication}
150150
*/
151-
private void proccess0(ChannelHandlerContext ctx, MqttMessage msg, Authentication auth) {
151+
private void process0(ChannelHandlerContext ctx, MqttMessage msg, Authentication auth) {
152152
MqttConnectMessage mcm = (MqttConnectMessage) msg;
153153
MqttConnectVariableHeader variableHeader = mcm.variableHeader();
154154
MqttConnectPayload payload = mcm.payload();

src/main/java/com/jun/mqttx/utils/GlobalExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* <li>最大线程池数量: {@link Runtime#availableProcessors()} * 2 </li>
3030
* <li>空闲时线程存活时间: 60 秒</li>
3131
* <li>任务队列: {@link ArrayBlockingQueue}</li>
32-
* <li>拒绝策略: 抛弃任务并应答错误信息</li>
32+
* <li>拒绝策略: 抛弃任务并打印错误信息</li>
3333
* </ol>
3434
*
3535
* @since 1.0.7

src/main/resources/banner.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
|_| |_| |_|\__, |\__|\__/_/\_\
77
| |
88
|_|
9-
:: mqttx :: (v1.0.6.RELEASE)
9+
:: mqttx :: (v1.0.7.RELEASE)

0 commit comments

Comments
 (0)