Ordering of events in multiple Azure event hubs

858 views Asked by At

I need to send Azure IoT Hub events based on message type i.e. telemetry, state and health messages. Now I want to send these to 3 event hubs i.e telemetry message to go to first event hub, health to second event hub and state to 3rd event hub.

The issue I see in this approach is the ordering of events. Let's say for deviceID A telemetry event goes to event hub1, and state event goes to event hub 2. How can I make sure the consumer gets these 2 messages in order.

Note:- I don't want to use a single event hub as it will overload the consumer with irrelevant messages.

0

There are 0 answers