summaryrefslogtreecommitdiffstats
path: root/aclk
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2022-06-29 16:34:49 +0300
committerGitHub <noreply@github.com>2022-06-29 16:34:49 +0300
commitb92f5a3271bb0fb7d16b2c406e473eec7bd68102 (patch)
tree1f65d36f00acee28f2c6b06ebe89b4ee42663be9 /aclk
parentc7ce4601af61e6a16dc3461738215270eb96313b (diff)
Use old mqtt implementation as default (#13258)
mqtt5 as default off
Diffstat (limited to 'aclk')
-rw-r--r--aclk/README.md4
-rw-r--r--aclk/aclk.c2
-rw-r--r--aclk/aclk_api.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/aclk/README.md b/aclk/README.md
index a6a4feeb2c..f595726e3d 100644
--- a/aclk/README.md
+++ b/aclk/README.md
@@ -50,12 +50,12 @@ You can configure following keys in the `netdata.conf` section `[cloud]`:
[cloud]
statistics = yes
query thread count = 2
- mqtt5 = yes
+ mqtt5 = no
```
- `statistics` enables/disables ACLK related statistics and their charts. You can disable this to save some space in the database and slightly reduce memory usage of Netdata Agent.
- `query thread count` specifies the number of threads to process cloud queries. Increasing this setting is useful for nodes with many children (streaming), which can expect to handle more queries (and/or more complicated queries).
-- `mqtt5` allows disabling the new MQTT5 implementation which is used now by default in case of issues. This option will be removed in future stable release.
+- `mqtt5` enables the new MQTT5 protocol implementation in the Agent. Currently a technical preview.
## Disable the ACLK
diff --git a/aclk/aclk.c b/aclk/aclk.c
index 6f0a0d0ef3..612f4a5710 100644
--- a/aclk/aclk.c
+++ b/aclk/aclk.c
@@ -628,7 +628,7 @@ void *aclk_main(void *ptr)
if (wait_till_agent_claim_ready())
goto exit;
- use_mqtt_5 = config_get_boolean(CONFIG_SECTION_CLOUD, "mqtt5", CONFIG_BOOLEAN_YES);
+ use_mqtt_5 = config_get_boolean(CONFIG_SECTION_CLOUD, "mqtt5", CONFIG_BOOLEAN_NO);
if (!(mqttwss_client = mqtt_wss_new("mqtt_wss", aclk_mqtt_wss_log_cb, msg_callback, puback_callback, use_mqtt_5))) {
error("Couldn't initialize MQTT_WSS network library");
diff --git a/aclk/aclk_api.c b/aclk/aclk_api.c
index 9446b407f2..a48594715a 100644
--- a/aclk/aclk_api.c
+++ b/aclk/aclk_api.c
@@ -61,7 +61,7 @@ void add_aclk_host_labels(void) {
}
- int mqtt5 = config_get_boolean(CONFIG_SECTION_CLOUD, "mqtt5", CONFIG_BOOLEAN_YES);
+ int mqtt5 = config_get_boolean(CONFIG_SECTION_CLOUD, "mqtt5", CONFIG_BOOLEAN_NO);
rrdlabels_add(labels, "_mqtt_version", mqtt5 ? "5" : "3", RRDLABEL_SRC_AUTO);
rrdlabels_add(labels, "_aclk_impl", "Next Generation", RRDLABEL_SRC_AUTO);