amenzhinsky / iothub

Azure IoT Hub SDK for Golang
MIT License
51 stars 57 forks source link

Contributing File Upload Support #56

Closed alexg-axis closed 2 years ago

alexg-axis commented 2 years ago

I'm looking to contribute support for IoT Hub file uploads as per https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-file-upload. The purpose of this issue is to signal that it's being worked on and to get the conversation going regarding the feature.

Is there anything I should take into account when implementing the feature?

alexg-axis commented 2 years ago

The current plan is:

  1. Create a new transport implementation (implementing all functions is out of scope for now)
  2. Implement the file upload functionality according to https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/iot-hub/iot-hub-devguide-file-upload.md#device-initialize-a-file-upload
  3. Quickly post a PoC PR to discuss the direction the feature should take
alexg-axis commented 2 years ago

The feature is ready for review. It's feature complete and tested towards a live instance of IoTHub and Azure Blob Storage.