-
Notifications
You must be signed in to change notification settings - Fork 739
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
feat: Adding pubsub interface #2538
Conversation
Open questions:
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2538 +/- ##
==========================================
- Coverage 53.46% 52.68% -0.79%
==========================================
Files 127 131 +4
Lines 11373 11591 +218
==========================================
+ Hits 6081 6107 +26
- Misses 4817 5005 +188
- Partials 475 479 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Here is a PR I came across that defined method definition for batching in dapr. This is a complete proposal for batching in dapr pub sub |
@maxsmythe according to this PPT, it seems I was wrong and at least with dapr, the subscriber will have a choice of bulk subscribe or simple subscribe (i.e how the subscriber can get messages). |
It looks like Dapr's response to the possibility of some clients not supporting bulk publishing is to have their library turn a bulk publish into a loop over the non-supporting client's publish call. |
Yes! According to this comment, non-supporting client's publish call can be made either |
d200ae9
to
1440f84
Compare
We want to add this to the validation webhook too, right? Or did you plan to do this as a follow up? |
Initially we will enable this with audit and then, later on, can integrate to different parts such as validation webhook. |
@sozercan @maxsmythe @nilekhc @ritazh I am working on fixing CI errors, but this PR is ready for review |
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.
Sorry for the delay, added a few comments.
c92a982
to
6320696
Compare
Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
…ror reporting on publish Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
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.
Code LGTM, last nit is on the Helm chart
Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
@maxsmythe @sozercan made the change, PTAL. |
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.
LGTM!
Co-authored-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
Signed-off-by: Jaydip Gabani gabanijaydip@gmail.com
What this PR does / why we need it: This PR introduces a way to export violations and provides a way to consume all the violations without scanning the logs. For more details, please refer to this doc
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):Fixes #
Special notes for your reviewer: