From c0e00ce09030edf7902e48b7945bd9b13168156e Mon Sep 17 00:00:00 2001 From: bmaidics Date: Sun, 17 Sep 2023 20:07:20 +0200 Subject: [PATCH] Add server to options --- src/reference/config/bindings/binding-mqtt-kafka.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/reference/config/bindings/binding-mqtt-kafka.md b/src/reference/config/bindings/binding-mqtt-kafka.md index 9fc2a3bf..a5cbbdef 100644 --- a/src/reference/config/bindings/binding-mqtt-kafka.md +++ b/src/reference/config/bindings/binding-mqtt-kafka.md @@ -16,6 +16,7 @@ mqtt_kafka_proxy: type: mqtt-kafka kind: proxy options: + server: mqtt-1.example.com:1883 topics: sessions: mqtt-sessions messages: mqtt-messages @@ -51,16 +52,24 @@ Behave as a `mqtt-kafka` `proxy`. > `object` -`mqtt-kafka`-specific options for configuring the `kafka` topics that the proxy will use to route mqtt messages and session states +`mqtt-kafka`-specific options for configuring the `kafka` topics that the proxy will use to route mqtt messages and session states; and define server reference of the MQTT server in Zilla ```yaml options: + server: mqtt-1.example.com:1883 topics: sessions: mqtt-sessions messages: mqtt-messages retained: mqtt-retained ``` +#### options.server + +> `object` + +The server reference used by the MQTT server in Zilla. This config enables scaling of the MQTT server when running multiple Zilla instances as it uses server redirection. +(TODO: how much should we explain here? Or a different section? https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901255) + #### options.topics.sessions > `object`