-
Notifications
You must be signed in to change notification settings - Fork 121
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: channels use consumergroups #3816
Conversation
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
@pierDipi I'm planning on removing the channel v1 implementation in a follow up PR, so that it's easier to see any changes I make in this PR (rather than having a complicated diff) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3816 +/- ##
==========================================
- Coverage 49.24% 48.31% -0.94%
==========================================
Files 247 246 -1
Lines 14925 14528 -397
==========================================
- Hits 7350 7019 -331
+ Misses 6816 6800 -16
+ Partials 759 709 -50 ☔ View full report in Codecov by Sentry. |
Looks like everything is broken 😅 |
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
/unhold I think things should work now (the failing tests passed when I ran them locally, I think they are flaky in CI) |
Signed-off-by: Calum Murray <cmurray@redhat.com>
/retest |
/test integration-tests |
Signed-off-by: Calum Murray <cmurray@redhat.com>
/test reconciler-tests |
@@ -33,7 +33,7 @@ import ( | |||
"knative.dev/eventing-kafka-broker/control-plane/pkg/config" | |||
"knative.dev/eventing-kafka-broker/control-plane/pkg/kafka/clientpool" | |||
"knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/broker" | |||
"knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/channel" | |||
channelv2 "knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/channel" |
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.
channelv2 -> channel
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.
whoops, looks like I missed this in the refactor 🤦
Signed-off-by: Calum Murray <cmurray@redhat.com>
/cc @pierDipi Fixed the channelv2 name |
/test upgrade-tests |
/test reconciler-tests-namespaced-broker |
Worked, retesting |
/test reconciler-tests-namespaced-broker |
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 the file be called kafka_channel_...
?
/test upgrade-tests |
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.
How did you add / removed the tests here? did you move the channelv2_test.go here or did you make a one by one addition? I'm worried we're removing newly added tests
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.
This is the result of moving channelv2_test.go
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
…loyment_deleter Signed-off-by: Calum Murray <cmurray@redhat.com>
/cc @pierDipi |
/test reconciler-tests-namespaced-broker |
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Cali0707, pierDipi 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 |
/unhold I'll follow up on unit tests in a separate PR |
684d3e1
into
knative-extensions:main
Fixes #3047
As part of the KEDA Kafka component scaling, we need to move channels to use consumergroups internally. This makes that change.
Proposed Changes
Release Note
Docs