-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[QUERY] How to catch the networking error while use the azure-stream-binder SDK #40091
Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
I any error is thrown from this consumer, you could use this approach to listen to the error channel, https://github.com/Azure-Samples/azure-spring-boot-samples/blob/17291f4816b2cf833bd6dbadbde48eb652bfb8c9/eventhubs/spring-cloud-azure-stream-binder-eventhubs/eventhubs-binder/src/main/java/com/azure/spring/sample/eventhubs/binder/EventHubBinderApplication.java#L25-L36. Or you could refer to this doc https://docs.spring.io/spring-cloud-stream/reference/spring-cloud-stream/overview-error-handling.html for Spring Cloud Stream error handling. |
Thank you @saragluna |
Hi @yunbozhang-msft. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation. |
Hi @yunbozhang-msft, since you haven’t asked that we |
Question
We are using SDK: com.azure.spring:spring-cloud-azure-stream-binder-eventhubs
Team, do you know how to catch the networking error while use this SDK?
When we process the message in the consume method, we have successfully received the message, but if there is a problem with the network before that, we do not consume the message, or it causes a retry. Do you know how to handle this network anomaly?
Why is this not a Bug or a feature Request?
I do not know how to catch networking error.
Setup (please complete the following information if applicable):
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: