Skip to content
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

Consider using "ApproximateReceiveCount" attribute to compute number of immediate processing failures for ErrorContext #2163

Open
jdaigle opened this issue May 10, 2023 · 0 comments

Comments

@jdaigle
Copy link

jdaigle commented May 10, 2023

Describe the feature.

Is your feature related to a problem? Please describe.

The number of immediate processing failures is tracked per physical endpoint deployed. This means the actual number of immediate processing failures can exceed the limit before delayed processing kicks in. This can also lead to increased cost.

Describe the requested feature

The ApproximateReceiveCount attribute could be used as the number immediate processing failures passed to the ErrorContext.

I think it starts at 1, so subtract 0 (with a floor of 0) to compute the number of immediate processing failures.

This could be an opt-in setting for now, or perhaps the default behavior in a major upgrade.

Describe alternatives you've considered

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants