question

JianyingHuang-9069 avatar image
0 Votes"
JianyingHuang-9069 asked MayankBargali-MSFT answered

Logic Apps of type event hub listener process one message per instance

Hi,

I am sending 100 messages every minute to an event hub. In my logic apps, I have a “when events available in Event Hub” trigger whose time interval is 1 minute. Instead of 1 execution every minute, I see 100 executions and each process 1 single message. Is that expected? Is that how Logic Apps scale scale?

Thanks,
Jianying

azure-logic-appsazure-event-hubs
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
1 Vote"
MayankBargali-MSFT answered

@JianyingHuang-9069 If you want to consume all the events on the same workflow instance then you need to disable the "Split On" property. Enable split-on to start an instance of the workflow per item in the selected array. Each instance can also have a distinct tracking id.

101060-image.png



image.png (11.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.