-
Notifications
You must be signed in to change notification settings - Fork 10
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
Treatment service Poller #87
Conversation
…poller Merging changes for [MM3 2915] Treatment service Poller
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.
Thanks a lot of this PR! There are just a couple of small comments I left, especially on the polling logic which I didn't really understand why it needed to be implemented as such.
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.
Thanks a lot for all the changes! I've just one last tiny comment but feel free to merge this once that's addressed! :D 🚀
What this PR does / why we need it:
The intention of this PR is to provide the option of utilising a poller in the treatment service instead of pub/sub. The poller will be responsible for pulling the changes periodically instead of subscribing to the management service topic.
Poller can be enabled from treatment service config
Which issue(s) this PR fixes:
Treatment service can be used in cloud environments where pub/sub is currently not supported e.g. Tencent cloud.