AkriConnectorsMqttConnectionConfiguration interface
AkriConnectorsMqttConnectionConfiguration properties.
Properties
| authentication | Authentication properties. |
| host | Host of the Broker in the form of <hostname>:<port>. |
| keep |
KeepAlive for connection in seconds. |
| max |
The max number of messages to keep in flight. For subscribe, this is the receive maximum. For publish, this is the maximum number of messages to send before waiting for an ack. |
| protocol | The protocol to use for the connection. Currently only |
| session |
Session expiry in seconds. |
| tls | TLS configuration. |
Property Details
authentication
Authentication properties.
authentication?: AkriConnectorsMqttAuthenticationUnion
Property Value
host
Host of the Broker in the form of <hostname>:<port>.
host?: string
Property Value
string
keepAliveSeconds
KeepAlive for connection in seconds.
keepAliveSeconds?: number
Property Value
number
maxInflightMessages
The max number of messages to keep in flight. For subscribe, this is the receive maximum. For publish, this is the maximum number of messages to send before waiting for an ack.
maxInflightMessages?: number
Property Value
number
protocol
The protocol to use for the connection. Currently only mqtt is supported.
protocol?: string
Property Value
string
sessionExpirySeconds
Session expiry in seconds.
sessionExpirySeconds?: number
Property Value
number