I'm seeing a Azure IoT project that involves IoT Hub and IoT edge custom modules behind a gateway (nested IoT architecture). Some custom modules have a big configuration file to define the acquiring the signals of thousands tags.
I found out the synchronization between IoT Hub and IoT Edge modules can be managed through Module TWINS (JSON document) inserting tags definition in properties.desired json object
By Microsoft documentation (link):
Desired properties. Used along with reported properties to synchronize module configuration or conditions. The solution back end can set desired properties, and the module app can read them. The module app can also receive notifications of changes in the desired properties.
As written at the beginning, unfortunately my use case has a configuration file that defines all tags about 10 MB
By Microsoft documentation exists the followed size limit for desired properties:
Module twin size IoT Hub enforces an 8 KB size limit on the value of tags, and a 32 KB size limit each on the value of properties/desired and properties/reported.
I found a workaround suggested from Microsoft
I'd like to know if this solution also works with Edge module behind a gateway.
Thanks