Iot Hub message routing to EventHub partitions

Gopikrishnan Bahuleyan Pillai 31 Reputation points
2021-02-23T15:09:24.573+00:00

Question is related to https://social.msdn.microsoft.com/Forums/azure/en-US/0192e371-b596-45ba-be4c-64d6b1ca5d41/iot-hub-routing-messages-to-only-one-partition-of-event-hub?forum=azureiothub

Assume: I have 2 devices in my IoT hub. Using the iot hub routing feature, messages are send to event hub.

Question: Does the device id based partition is maintained when it reached event hub? Not talking about inbuilt event hub, but the one that is configured as a custom endpoint. Also, if you can point to the documentation link that explains about this, would be helpful.

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,128 questions
{count} votes

Accepted answer
  1. AshokPeddakotla-MSFT 27,966 Reputation points
    2021-02-26T11:40:59.803+00:00

    @Gopikrishnan Bahuleyan Pillai We can confirm that, when routing to Event Hub, the partition key stays deviceid.
    Regarding the documentation, We have informed docs team to update the documentation.

    To understand more about the partitions, please see Partition key and Partitions

    Do let us know if you have any further queries.

    ------------

    If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful