chore: apply suggestions from code review
Co-authored-by: yanzhiemq <125347458+yanzhiemq@users.noreply.github.com>
This commit is contained in:
parent
8ecd6364d1
commit
e7800f5a71
|
@ -49,8 +49,6 @@
|
|||
|
||||
- [#10381](https://github.com/emqx/emqx/pull/10381) Hide the `auto_subscribe` configuration items so that they can be modified later only through the HTTP API.
|
||||
|
||||
- [#10385](https://github.com/emqx/emqx/pull/10385) Hide data items(`rule_engine/bridge/authz/authn`) from configuration files and documentation.
|
||||
|
||||
- [#10391](https://github.com/emqx/emqx/pull/10391) Hide a large number of advanced options to simplify the configuration file.
|
||||
|
||||
That includes `rewrite`, `topic_metric`, `persistent_session_store`, `overload_protection`,
|
||||
|
@ -120,7 +118,7 @@
|
|||
- [#10410](https://github.com/emqx/emqx/pull/10410) Fix config check failed when gateways are configured in emqx.conf.
|
||||
This issue was first introduced in v5.0.22 via [#10278](https://github.com/emqx/emqx/pull/10278), the boot-time config check was missing.
|
||||
|
||||
- [#10455](https://github.com/emqx/emqx/pull/10455) Fixed an issue that could cause (otherwise harmless) noise in the logs.
|
||||
- [#10533](https://github.com/emqx/emqx/pull/10533) Fixed an issue that could cause (otherwise harmless) noise in the logs.
|
||||
|
||||
During some particularly slow synchronous calls to bridges, some late replies could be sent to connections processes that were no longer expecting a reply, and then emit an error log like:
|
||||
|
||||
|
@ -139,7 +137,7 @@
|
|||
|
||||
- [#10270](https://github.com/emqx/emqx/pull/10270) ClickHouse data bridge has got a fix that makes the error message better when users click the test button in the settings dialog.
|
||||
|
||||
- [#10324](https://github.com/emqx/emqx/pull/10324) Previously, when attempting to reconnect to a misconfigured ClickHouse bridge through the dashboard, users would not receive an error message. This issue is now resolved, and error messages will now be displayed
|
||||
- [#10324](https://github.com/emqx/emqx/pull/10324) Previously, when attempting to reconnect to a misconfigured ClickHouse bridge through the dashboard, users would not receive an error message. This issue is now resolved, and error messages will now be displayed.
|
||||
|
||||
- [#10438](https://github.com/emqx/emqx/pull/10438) Fix some configuration item terminology errors in the DynamoDB data bridge:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## 优化
|
||||
|
||||
- [#10278](https://github.com/emqx/emqx/pull/10278) SSL MQTT监听器增加对 OCSP Stapling 的支持。
|
||||
- [#10128](https://github.com/emqx/emqx/pull/10128) SSL MQTT监听器增加对 OCSP Stapling 的支持。
|
||||
|
||||
- [#10156](https://github.com/emqx/emqx/pull/10156) 调整配置文件覆盖顺序机制
|
||||
|
||||
|
@ -47,8 +47,6 @@
|
|||
|
||||
- [#10381](https://github.com/emqx/emqx/pull/10381) 隐藏 `auto_subscribe` 配置项,后续将只能通过 HTTP API 来修改自动订阅规则。
|
||||
|
||||
- [#10385](https://github.com/emqx/emqx/pull/10385) 从配置文件和文档中隐藏数据项(`rule_engine/bridge/authz/authn`)。
|
||||
|
||||
- [#10391](https://github.com/emqx/emqx/pull/10391) 简化配置文件并隐藏大量的配置项,包括 `rewrite`、`topic_metric`、`persistent_session_store`、`overload_protection`、`flapping_detect`、`conn_congestion`、`stats`、`auto_subscribe`、`broker_perf`、`shared_subscription_group`、`slow_subs`、`ssl_options.user_lookup_fun`、 `node` 和 `dashboard` 相关的部分高级配置项,[#10358](https://github.com/emqx/emqx/pull/10358), [#10381](https://github.com/emqx/emqx/pull/10381), [#10385](https://github.com/emqx/emqx/pull/10385)。
|
||||
|
||||
- [#10404](https://github.com/emqx/emqx/pull/10404) 将缓冲区工作线程的默认队列模式更改为 `memory_only`。在此优化前,默认队列模式为 `volatile_offload`,当消息速率很高,资源无法满足该需求时,缓冲区性能会由于频繁的磁盘操作而受影响。
|
||||
|
@ -109,8 +107,26 @@
|
|||
|
||||
- [#10323](https://github.com/emqx/emqx/pull/10323) 出于安全原因,API 示例中 `password` 字段的值被替换为 `******`。
|
||||
|
||||
- [#10410](https://github.com/emqx/emqx/pull/10410) 针对由`emqx.conf` 配置的网关,修复配置检查失败问题。
|
||||
此问题最早在 v5.0.22版本中由 [#10278](https://github.com/emqx/emqx/pull/10278)引入,启动时缺少配置检查。
|
||||
|
||||
- [#10533](https://github.com/emqx/emqx/pull/10533) 修复可能导致日志中的出现无害的噪音的问题。
|
||||
|
||||
在对数据桥接进行同步调用时,一些迟到的回复可能会发送到不再期待回复的连接进程,导致产生错误日志,如:
|
||||
|
||||
2023-04-19T18:24:35.350233+00:00 [error] msg: unexpected_info,
|
||||
mfa: emqx_channel:handle_info/2, line: 1278, peername:
|
||||
172.22.0.1:36384, clientid: caribdis_bench_sub_1137967633_4788,
|
||||
info:
|
||||
{#Ref<0.408802983.1941504010.189402>,{ok,200,[{<<"cache-control">>,<<"max-age=0,
|
||||
...">>}}
|
||||
|
||||
这些日志是无害的,但它们可能会泛滥成灾,引起用户不必要的担心。
|
||||
|
||||
- [#10449](https://github.com/emqx/emqx/pull/10449) 在通过 HTTP 服务(`authn_http`)创建身份验证时,将进行 `ssl_options` 和 `header` 配置验证。在此修复前,用户通过错误的 ssl 配置也可成功创建身份验证,但该验证整体不生效。
|
||||
|
||||
- [#10548](https://github.com/emqx/emqx/pull/10548) 修复了HTTP驱动程序在竞争条件下会导致错误而不去重试的问题。 相关的驱动程序修复: [emqx/ehttpc#45](https://github.com/emqx/ehttpc/pull/45)`
|
||||
|
||||
- [#10201](https://github.com/emqx/emqx/pull/10201) 在 TDengine 数据桥接中,移除 SQL 模板中冗余的数据库名称。
|
||||
|
||||
- [#10270](https://github.com/emqx/emqx/pull/10270) 在创建 ClickHouse 数据桥接时,优化用户点击测试按钮时的错误信息
|
||||
|
|
Loading…
Reference in New Issue