-
Notifications
You must be signed in to change notification settings - Fork 4
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
Retry for failed operation #158
Conversation
- message channel PR comments
…ution and updates on subscription operation for a subscription
…criptions. This includes - main sub, retry topic & sub, dlt topic & sub - basic shard/partitioning based on qps/throughput limits - subscription running status controller API - subscription provisioning status in rest API Moved internal queue type and topic partition related entities to entities module.
- Add active produce/consume topic/subscription to composite entities - Move default topic/node capacity to config from hard coded values. - moved varadhitopic factory/service to server module. - refactoring related to start subscription in consumer
Test Results280 tests 280 ✅ 59s ⏱️ Results for commit c3858ff. ♻️ This comment has been updated with latest results. |
import lombok.AllArgsConstructor; | ||
|
||
@AllArgsConstructor | ||
public class RetryPolicy { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can use builder with defaults here to allow easy construction of the instance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not doing this for now as not sure of final policy struct, also policy is created only once in code (excluding test). Would prefer to avoid test defaults in prod code.
Initial implementation of retry failed operation in controller. Retry is based on simple retry policy and will always be attempted. Currently retry is failure agnostic.
TODO:: working on tests.