-
Notifications
You must be signed in to change notification settings - Fork 41
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
Feature: pulling consumer subscriber #587
Feature: pulling consumer subscriber #587
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: astelmashenko The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #587 +/- ##
==========================================
- Coverage 43.57% 41.12% -2.45%
==========================================
Files 61 62 +1
Lines 2678 3664 +986
==========================================
+ Hits 1167 1507 +340
- Misses 1430 2072 +642
- Partials 81 85 +4 ☔ View full report in Codecov by Sentry. |
… fetchmaxwait type, correctly closing pull consumer
/assign @Cali0707 |
@Cali0707 , could you please 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.
I'm not very familiar with the NATS-specific stuff happening here, but I did my best to do a first pass review @astelmashenko
// you have more time for resources to spin up. | ||
// | ||
// If you have limited resources, you may want to reduce the number of goroutines. | ||
NumBatchGoRoutines = 32 |
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.
Maybe I'm missing something, but as far as I can tell we aren't using this value anywhere?
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.
yeah, you are right, I was planning to introduce later worker pools per subscriber.
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.
should we remove it for now then?
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.
agree. removed.
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.
I'm not an expert on any of the NATS parts, but this looks fine to me 👍
/lgtm
/hold for any other reviews
@Cali0707 , hey thanks for reviewing it, if you have somebody in mind who can review it then please mention him here, otherwise I do not know why hold, the PR is two months old, enough time to check. I'm waiting this PR to continue working on the eventing-nats:
|
Sure @astelmashenko let's merge it then |
Hey, @Cali0707 , could we skip codecov for this PR? In the PR I do:
Because of refactorings and new code there is such codecov that does not allow to merge. |
/override codecov/project |
@dsimansk: Overrode contexts on behalf of dsimansk: codecov/project In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/override codecov/patch |
@dsimansk: Overrode contexts on behalf of dsimansk: codecov/patch In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/lgtm |
c76507b
into
knative-extensions:main
Proposed Changes