-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] EventProcessorClient stops reading from partitions after transient (timeout?) errors and never recovers. #14652
Comments
Thanks for filing this issue @shubhambhattar. @srnagar @conniey @YijunXieMS can you please follow up? |
@shubhambhattar A new version of Event Hubs was released that contains a fix of this issue. Could you please try the new version and verify if this issue still exists? This issue is related to #13785 |
@srnagar Still doesn't work. SDK stops reading from certain partitions and never recovers.
Snapshot at a certain time also shows that messages from some partitions aren't being consumed. |
@shubhambhattar could you please provide the complete logs for the partitions that stopped receiving (at least for a couple of hours since the receiving stopped). Also, can you share the code snippet for how you are setting up your client? |
@srnagar Code snippet for how my client is being setup is present here: https://github.com/shubhambhattar/azure-eventhub-replication/blob/main/src/main/java/com/example/ehreplication/config/EHConsumerConfig.java#L60 I've added a sample project here: https://github.com/shubhambhattar/azure-eventhub-replication using which I was trying out the SDK (if that's also needed). |
I get this error using this dependency, (and also with version 1.2.8) :
NOTE: I am not explicitly using the |
Describe the bug
EventProcessorClient stops reading from a few partitions. There comes some transient errors and the client never recovers from it.
Exception or Stack Trace
To Reproduce
Just instantiate an EventProcessorClient and let it run. In my case, I've an EventHub namespace with 20 TU and 1 EventHub (with 32 partitions).
Expected behavior
EventProcessorClient should recover from the error and start reading from those partitions rather than just stop reading from them.
Screenshots
https://imgur.com/a/67DbJtD
Please check these screenshots. I've the history of last 10 days and it can be seen that once the consumption from a partition stops, it never recovers.
Setup (please complete the following information):
5.1.2
Additional context
Seems like this problem has been in the SDK for quite some time. Not the first time I reported this. Check
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: