-
Notifications
You must be signed in to change notification settings - Fork 117
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
Add producer interceptor PartitionKeyExtensionInterceptor #751
Add producer interceptor PartitionKeyExtensionInterceptor #751
Conversation
Codecov Report
@@ Coverage Diff @@
## main #751 +/- ##
============================================
- Coverage 76.63% 76.57% -0.06%
- Complexity 439 440 +1
============================================
Files 77 77
Lines 2910 2924 +14
Branches 133 133
============================================
+ Hits 2230 2239 +9
- Misses 530 534 +4
- Partials 150 151 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Are you sure we don't touch partitionKey anywhere else in the code? I'm pretty sure I saw some code about it recently, i'll give a look tomorrow
@@ -40,7 +40,7 @@ data: | |||
receive.buffer.bytes=-1 | |||
request.timeout.ms=30000 | |||
enable.idempotence=false | |||
# interceptor.classes="" | |||
interceptor.classes="io.cloudevents.kafka.PartitionKeyExtensionInterceptor" |
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 it's better to hardcode this since we always want this behaviour? Or at least make users aware that changing this will break partition key extension?
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.
Done!
2b0b108
to
50366b8
Compare
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
50366b8
to
837a958
Compare
Strimzi image (quay?) /retest |
I'd stop retesting :) |
/retest |
Fixed |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: slinkydeveloper 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 |
/cherry-pick release-0.21 |
@slinkydeveloper: once the present PR merges, I will cherry-pick it on top of release-0.21 in a new PR and assign it to you. 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/test-infra repository. |
/retest |
@slinkydeveloper: new pull request created: #754 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/test-infra repository. |
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
As reported in slack, we don't set this interceptor.
Proposed Changes
Release Note
/kind bug