-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Technical Question] [SDK v2] Lack of timeout options for IoT Hub device client #3332
Comments
Hey @bastyuchenko - you're right in that many timeouts in the .NET SDK are private fields that are set internally and thus cannot be modified like in the C SDK. Are there specific timeouts that you're working with that you'd like to be able to tweak, or is this more of just a general wondering about how they work in .NET? |
Closing this issue for now, feel free to reopen it should the desire arise. |
Hi @patilsnr Our customer is going to increase number of devices in a fleet and I'm implementing a performance test to understand how various options affect communication in our specific scenarios. After the perf testing is finished, I'm going to tweak the most suitable values of these options in PROD env. I use MQTT protocol in our solution.
|
Hi @bastyuchenko. I have confirmed that |
Hi again @bastyuchenko. I've looked into it and it seems that these timeouts are internally handled through .NET's These clients are used by the SDK in the |
Provided suggestion and work around on source given the limitation on the current version of the SDK. |
Hello,
I see that only IdleTimeout available for IotHubClientMqttSettings and ProvisioningClientMqttSettings. Maybe I'm wrong but it seems other timeouts are hardcoded or not implemented.
For example, Azure IoT SDK for C has OPTION_MESSAGE_TIMEOUT, OPTION_CONNECTION_TIMEOUT.
https://github.com/Azure/azure-iot-sdk-c/blob/main/doc/connection_and_messaging_reliability.md
Is there any way in Azure IoT SDK .NET v2 to configure similar parameters?
The text was updated successfully, but these errors were encountered: