Logic App only reading a few Service Bus messages

2019-08-22 08:24发布

问题:

I have a Logic App which is triggered by an EventGrid topic but reads messages from a Service Bus queue using the SessionId passed in the event.

The Service Bus peek read is done in an Until loop which exits when the Service Bus peek read times out. (I have set the timeout to 30S in the settings for the Action).

The problem I have is that only around 20 messages are read before the loop exits despite the queue being full. Why is this?

The loop looks like this:

回答1:

@Thomas gave me the clue that got me there in the end.

Unknown to me Until loops have "limits" settings for timeout and number of iterations.

Clicking the "change limits" link reveals these settings so that they can be overridden.