DataflowEndpointMqtt interface
Broker 端點屬性
屬性
| authentication | 驗證屬性。 DEFAULT:kubernetes.audience=aio-internal。 注意 - 只允許列舉欄位屬性 |
| client |
用戶端標識碼前置詞。 數據流所產生的用戶端標識碼是 <prefix-TBD>。 自選;如果省略任何前置詞,則不會有前置詞。 |
| cloud |
雲端事件對應設定。 |
| host | Host of the Broker in the <hostname>:<port>. 自選;如果省略,會連線到 Broker。 |
| keep |
Broker KeepAlive 以秒為單位進行連線。 |
| max |
要保留在正式發行前小眾測試中的訊息數目上限。 對於訂閱,這是接收上限。 針對發佈,這是等候ack 之前要傳送的訊息數目上限。 |
| protocol | 啟用或停用 websocket。 |
| qos | Broker 連線的 Qos。 |
| retain | 是否要保留保留設定。 |
| session |
會話以秒為單位到期。 |
| tls | TLS 組態。 |
屬性詳細資料
authentication
驗證屬性。 DEFAULT:kubernetes.audience=aio-internal。 注意 - 只允許列舉欄位屬性
authentication: DataflowEndpointMqttAuthentication
屬性值
clientIdPrefix
用戶端標識碼前置詞。 數據流所產生的用戶端標識碼是 <prefix-TBD>。 自選;如果省略任何前置詞,則不會有前置詞。
clientIdPrefix?: string
屬性值
string
cloudEventAttributes
雲端事件對應設定。
cloudEventAttributes?: string
屬性值
string
host
Host of the Broker in the <hostname>:<port>. 自選;如果省略,會連線到 Broker。
host?: string
屬性值
string
keepAliveSeconds
Broker KeepAlive 以秒為單位進行連線。
keepAliveSeconds?: number
屬性值
number
maxInflightMessages
要保留在正式發行前小眾測試中的訊息數目上限。 對於訂閱,這是接收上限。 針對發佈,這是等候ack 之前要傳送的訊息數目上限。
maxInflightMessages?: number
屬性值
number
protocol
啟用或停用 websocket。
protocol?: string
屬性值
string
qos
Broker 連線的 Qos。
qos?: number
屬性值
number
retain
是否要保留保留設定。
retain?: string
屬性值
string
sessionExpirySeconds
會話以秒為單位到期。
sessionExpirySeconds?: number
屬性值
number