title: Using partitionId or partitionKey with Iot Hub Azure
body: <p>We are developing an application where IoT devices will be publishing events to azure IoT hub using MQTT protocol (by using one topic to push message). We want to consume these message using Stream Analytic service. And to scale Stream analytic services, it is recommended to use partitionBy clause.</p>
  
  <p>Since, we are not using Azure Event hub SDK, can we somehow attached partitionId with events?</p>
  
  <p>Thanks In Advance</p>