Field Gateway SDK: Please provide a module that does message aggregation before sending to IoT Hub.
IoT messages are very small and Azure IoT message block size is 4k. The Field Gateway will be used to aggregate messages before sending to IoT Hub so we can take advantage of that. Since message aggregation will be one of the primary uses of the Field Gateway, the Azure IoT team should provide that as an included module. The module should allow the developer to specific a block size (default to 4k) and a tolerance (default to 100 bytes). If the message is block size - tolerance, it should push the aggregated block to the queue.
This feature should take into account frame-rate limitations of incoming messages (e.g. over BLE), aggregation of messages from multiple sources, and throttling enforced by Microsoft over msgs/unit/sec.
Yaron Bental commented
very useful here as well
Would be very helpful
Alex Pshul commented
This can be super useful for my current project.
Add the functionality of splitting those combined-messages in the IoT Hub side, so routing can be handled correctly for each original message.