Hi @MesoMat Co ,
Basically, there are two workarounds for your requirement such as sending the telemetry data to the specific EH partition based on the deviceId, etc.
- Using the webhook destination endpoint to send an event to a specified partition in an Event Hub, see here. The Data Transformation will massage the event payload and also a rule for selecting a destination endpoint for each partition. Note, that currently we can not populate a destination endpoint parameters (url, headers, etc.) dynamically, all configuration must be explicitly setup it. Please, vote for this feature here.
- Exporting the device telemetry data to the Azure Event Grid as a cloudevents message (via the custom topic) and then delivering to the specific partition in the Event Hub, see here. Using the subscription advanced filtering, the events can be filtered based on the needs. Note, that the AEG model doesn't guarantee delivering events in order.
Thanks
Roman