MQTT binding spec
To setup MQTT binding create a component of type . See this guide on how to create and apply a binding configuration.
Warning
要配置使用 TLS 通信,需配置并确保mosquitto broker支持凭证。 前提条件包括certficate authority certificate
、ca issued client certificate
、client private key
。 参见下面的示例。
消费共享主题
Warning
以上示例将密钥明文存储, It is recommended to use a secret store for the secrets as described here.
字段名为 ttlInSeconds
。