Share via


MqttTransportSettings.ConnectArrivalTimeout Property

Definition

The time to wait for receiving an acknowledgment for a CONNECT packet. The default is 60 seconds.

public TimeSpan ConnectArrivalTimeout { get; set; }
member this.ConnectArrivalTimeout : TimeSpan with get, set
Public Property ConnectArrivalTimeout As TimeSpan

Property Value

Remarks

In the event that IoT hub receives burst traffic, it will implement traffic shaping in order to process the incoming requests. In such cases, during client connection the CONNECT requests can have a delay in being acknowledged and processed by IoT hub. The ConnectArrivalTimeout governs the duration the client will wait for a CONNACK packet before disconnecting and reopening the connection. To know more about IoT hub's throttling limits and traffic shaping feature, see https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-quotas-throttling#operation-throttles.

Applies to