-
Notifications
You must be signed in to change notification settings - Fork 14
action topic and service added #69
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
action topic and service added #69
Conversation
maxceem
left a comment
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.
@eisbilir I'm still testing it, though there is one thing that looks suspicioious for me is using retryMap to keep the retry value.
It was expected that retry value would be used from the taas.action.retry topic payload.
The current implementation with retryMap has a few potentials issues:
- when we send 2 events for WP in the same RB and both of them fail, it would use the same retry value for both of them because they have the same RB.id
- even if we use WP.id in
retryMapthere could be 2 events for the same WP failed and they again use the same retry from theretryMap
To make the logic bulletproof I guess it's better to use retry from the taas.action.retry topic payload.
What do you think?
|
@maxceem There are two main methods for the retry service:
The reasons I didn't choose using
Yes. By using Well, If it's okay to pass |
maxceem
left a comment
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.
@eisbilir looks good as per quick local testing. Merging to a separate branch for more testing.
No description provided.