refactor(mqtt-component): 重构 MQTT 组件相关实现代码#740
Open
PengyuDeng wants to merge 5 commits intojetlinks:2.11from
Open
refactor(mqtt-component): 重构 MQTT 组件相关实现代码#740PengyuDeng wants to merge 5 commits intojetlinks:2.11from
PengyuDeng wants to merge 5 commits intojetlinks:2.11from
Conversation
Contributor
Author
|
没 |
zhou-hao
reviewed
Jan 20, 2026
|
|
||
| @Override | ||
| public Flux<MqttMessage> subscribe(List<String> topics, int qos) { | ||
| return Flux.create(sink -> { |
Member
There was a problem hiding this comment.
用create 连接无法感应背压. create 可能堆积导致占用大量内存
| @Override | ||
| public Mono<Void> publish(MqttMessage message) { | ||
| if (isLoading()) { | ||
| return Mono.create(sink -> { |
| * @author zhouhao | ||
| * @since 1.0 | ||
| * @author PengyuDeng | ||
| * @since 2.11 |
Contributor
Author
|
client AI写完还没咋看,先搞定了server。等会改Client的代码 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
主要是server部分重构了认证逻辑,认证逻辑前置了。看看还有啥要改的不