-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I tried this:
Overview:
We've encountered an issue where the broker retries failed event deliveries indefinitely when no maxAttempts value is set in the default retry policy. This resulted in a production incident where a single failed event retried infinitely.
Environment:
- Component: CloudStreams Broker
- Affected Resource: Subscription event delivery
This happened:
- Broker's default retry policy has null maxAttempts
- Downstream subscriber returned HTTP 500 errors
- Broker retried the same event continuously without limit
I expected this:
We noticed there's a DefaultMaxAttempts = 5 constant defined in RetryPolicy.cs that appears unused. We wanted to check if the current infinite retry behavior is intentional, or if the framework should apply this default when maxAttempts is not set.
Thank you for your assistance with this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working