Open reddyduggempudi opened 3 years ago
For that we would need to get a lock token for each message, I'm not sure where from.
Let me find out from our SDK team and let you know.
On Fri, Feb 26, 2021 at 7:30 AM Aliaksandr Mianzhynski < notifications@github.com> wrote:
For that we would need to get a lock token for each message, I'm not sure where from.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amenzhinsky/iothub/issues/45#issuecomment-786717301, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5273ZENQRYOJ74VDDCM53TA65C7ANCNFSM4YF2Z46Q .
@reddyduggempudi did you find out?
C2D commands are getting notified in the client. But, as per the protocol, client application is expected to "Complete" the message so that it will be deleted from the queue.
E.g.: in .NET SDK https://github.com/Azure/azure-iot-sdk-csharp/blob/master/iothub/device/src/DeviceClient.cs#L362