|
|
@@ -211,82 +211,6 @@ listeners.ssl.default {
|
|
|
tcp.buffer = 4KB
|
|
|
}
|
|
|
|
|
|
-## MQTT/QUIC - QUIC Listeners for MQTT Protocol
|
|
|
-## syntax: listeners.quic.<name>
|
|
|
-## example: listeners.quic.my_quic_listener
|
|
|
-listeners.quic.default {
|
|
|
- ## The IP address and port that the listener will bind.
|
|
|
- ##
|
|
|
- ## @doc listeners.quic.<name>.bind
|
|
|
- ## ValueType: IPAddress | Port | IPAddrPort
|
|
|
- ## Required: true
|
|
|
- ## Examples: 14567, 127.0.0.1:14567, ::1:14567
|
|
|
- bind = "0.0.0.0:14567"
|
|
|
-
|
|
|
- ## The configuration zone this listener is using.
|
|
|
- ## If not set, the global configs are used for this listener.
|
|
|
- ##
|
|
|
- ## See `zones.<name>` for more details.
|
|
|
- ## NOTE: This is a cluster-wide configuration.
|
|
|
- ## It requires all nodes to be stopped before changing it.
|
|
|
- ##
|
|
|
- ## @doc listeners.quic.<name>.zone
|
|
|
- ## ValueType: String
|
|
|
- ## Required: false
|
|
|
- #zone = default
|
|
|
-
|
|
|
- ## The size of the acceptor pool for this listener.
|
|
|
- ##
|
|
|
- ## @doc listeners.quic.<name>.acceptors
|
|
|
- ## ValueType: Number
|
|
|
- ## Default: 16
|
|
|
- acceptors = 16
|
|
|
-
|
|
|
- ## Maximum number of concurrent connections.
|
|
|
- ##
|
|
|
- ## @doc listeners.quic.<name>.max_connections
|
|
|
- ## ValueType: Number | infinity
|
|
|
- ## Default: infinity
|
|
|
- max_connections = 1024000
|
|
|
-
|
|
|
- ## Path to the file containing the user's private PEM-encoded key.
|
|
|
- ##
|
|
|
- ## @doc listeners.quic.<name>.keyfile
|
|
|
- ## ValueType: String
|
|
|
- ## Default: "{{ platform_etc_dir }}/certs/key.pem"
|
|
|
- keyfile = "{{ platform_etc_dir }}/certs/key.pem"
|
|
|
-
|
|
|
- ## Path to a file containing the user certificate.
|
|
|
- ##
|
|
|
- ## @doc listeners.quic.<name>.certfile
|
|
|
- ## ValueType: String
|
|
|
- ## Default: "{{ platform_etc_dir }}/certs/cert.pem"
|
|
|
- certfile = "{{ platform_etc_dir }}/certs/cert.pem"
|
|
|
-
|
|
|
- ## When publishing or subscribing, prefix all topics with a mountpoint string.
|
|
|
- ## The prefixed string will be removed from the topic name when the message
|
|
|
- ## is delivered to the subscriber. The mountpoint is a way that users can use
|
|
|
- ## to implement isolation of message routing between different listeners.
|
|
|
- ##
|
|
|
- ## For example if a clientA subscribes to "t" with `listeners.quic.<name>.mountpoint`
|
|
|
- ## set to "some_tenant", then the client accually subscribes to the topic
|
|
|
- ## "some_tenant/t". Similarly if another clientB (connected to the same listener
|
|
|
- ## with the clientA) send a message to topic "t", the message is accually route
|
|
|
- ## to all the clients subscribed "some_tenant/t", so clientA will receive the
|
|
|
- ## message, with topic name "t".
|
|
|
- ##
|
|
|
- ## Set to "" to disable the feature.
|
|
|
- ##
|
|
|
- ## Variables in mountpoint string:
|
|
|
- ## - ${clientid}: clientid
|
|
|
- ## - ${username}: username
|
|
|
- ##
|
|
|
- ## @doc listeners.quic.<name>.mountpoint
|
|
|
- ## ValueType: String
|
|
|
- ## Default: ""
|
|
|
- mountpoint = ""
|
|
|
-}
|
|
|
-
|
|
|
## MQTT/WS - Websocket Listeners for MQTT Protocol
|
|
|
## syntax: listeners.ws.<name>
|
|
|
## example: listeners.ws.my_ws_listener
|