Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.35k stars 1.99k forks source link

[BUG] EventHubs processor: if max time is not set, but there are less events than batch size, they are never processed. #38586

Open lmolkova opened 9 months ago

lmolkova commented 9 months ago

If I create processor client with high batch size and set null max wait time, I will never get processing callback called until I have full batch. (Waited for 2 min)

There should be a default max wait time (e.g.1 minute) and events should be eventually dipatched.

joshfree commented 9 months ago

It would be good to share this with the other language owners to make sure they don't have a similar problem.