We adopted the pipeline pattern of IoT hub to Event hub and into CosmosDB from a long list of other successful commercial customer solutions. It was well suited to this project - IoT devices sending a mix of event triggered and continuous aggregated telemetry to be used as a dataset for fut...