With Azure stream analytics job having IoTHub as input and document DB as output getting following warnings frequently -
Warning: CosmosDB Output contains multiple rows and just one row per partition key. If the output latency is higher than expected, consider choosing a partition key that contains at least several hundred records per partition key. For best performance, consider choosing the same partition key column for input and output.
i am using partition key and large numbers of data received by IoTHub per second for same partition key.
Firstly, this is the warning, it will not cause your stream Analytics failed.
It suggests you consider changing your cosmosdb design.
A right design for partition key, will improve the performance of your cosmosdb when using it.
From this article.
About how to design the partition, you could refer to this article.