-
Notifications
You must be signed in to change notification settings - Fork 120
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
chore(deps): bump sarama to v1.41.2 #3348
Conversation
Welcome @dnwe! It looks like this is your first PR to knative-extensions/eventing-kafka-broker 🎉 |
Hi @dnwe. Thanks for your PR. I'm waiting for a knative-extensions member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
Thank you |
Codecov Report
@@ Coverage Diff @@
## main #3348 +/- ##
============================================
+ Coverage 61.61% 61.66% +0.04%
- Complexity 768 769 +1
============================================
Files 182 182
Lines 12331 12331
Branches 268 268
============================================
+ Hits 7598 7604 +6
+ Misses 4136 4132 -4
+ Partials 597 595 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
894266e
to
3c6faa1
Compare
Hmmm looking over these test results:
eventing-kafka-broker/control-plane/pkg/apis/sources/v1beta1/kafka_validation.go Lines 49 to 53 in e087768
Not quite sure why this is failing the validation with an empty value, as the defaults func should have initialised it to OffsetLatest eventing-kafka-broker/control-plane/pkg/apis/sources/v1beta1/kafka_defaults.go Lines 53 to 55 in e087768
|
In the other tests, strimzi seems to be struggling:
|
/retest |
@dnwe could you run |
Note: the module path has changed to github.com/IBM/sarama since ownership transitioned away from Shopify Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
If the user hasn't specified an explicit sarama.config.Version in their config-kafka ConfigMap then use sarama's DefaultVersion rather than setting MaxVersion (which is rarely what the user will want). Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
/retest-required |
2 similar comments
/retest-required |
/retest-required |
/retest |
1 similar comment
/retest |
@@ -56,7 +56,7 @@ type NewClientFunc func(addrs []string, config *sarama.Config) (sarama.Client, e | |||
// GetSaramaConfig returns Kafka Client configuration with the given options applied. | |||
func GetSaramaConfig(configOptions ...ConfigOption) (*sarama.Config, error) { | |||
config := sarama.NewConfig() | |||
config.Version = sarama.MaxVersion | |||
config.Version = sarama.DefaultVersion |
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.
Is this due to newer version?
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
/retest
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dnwe, matzew 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 |
/test channel-integration-tests-sasl-plain |
1 similar comment
/test channel-integration-tests-sasl-plain |
@dnwe: The following tests failed, say
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. I understand the commands that are listed here. |
/test channel-integration-tests-sasl-plain |
@dnwe thanks for the help! |
Proposed Changes
chore(deps): bump sarama to v1.41.2
Note: the module path has changed to github.com/IBM/sarama since ownership transitioned away from Shopify
Additionally use
sarama.DefaultVersion
as the default config (rather thansarama.MaxVersion
) if the user hasn't specified an explicit sarama.config.Version in their config-kafka ConfigMapRelease Note