-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Improve Cruise Control client creation and testing #10918
Conversation
topic-operator/src/main/java/io/strimzi/operator/topic/TopicOperatorMain.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/TopicOperatorUtil.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/TopicOperatorMain.java
Outdated
Show resolved
Hide resolved
7054e5d
to
c1b176f
Compare
This change makes the TopicOperatorConfig class consistent with the other operators. For more info see: strimzi#10918 (comment) Signed-off-by: Federico Valeri <[email protected]>
This change makes the TopicOperatorConfig class consistent with the other operators. For more info see: strimzi#10918 (comment) Signed-off-by: Federico Valeri <[email protected]>
This change makes the TopicOperatorConfig class consistent with the other operators. For more info see: strimzi#10918 (comment) Signed-off-by: Federico Valeri <[email protected]>
This change makes the TopicOperatorConfig class consistent with the other operators. For more info see: strimzi#10918 (comment) Signed-off-by: Federico Valeri <[email protected]>
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 added a comment around the new Config record, but I also think this PR needs to be renamed as "Remove unnecessary methods from TopicOperatorUtil class" seems misleading to me. I think something like "Refactor TopicOperatorConfig initialisation" would better describe the changes.
topic-operator/src/main/java/io/strimzi/operator/topic/cruisecontrol/CruiseControlClient.java
Outdated
Show resolved
Hide resolved
@ppatierno @katheris I did what you asked in the community call. |
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.
Thanks @fvaleri, two small comments. Also I wonder if we could update the title to be more descriptive e.g. Remove client creation methods from TopicOperatorUtil class and add CC client config validation
topic-operator/src/main/java/io/strimzi/operator/topic/TopicOperatorConfig.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/TopicOperatorUtil.java
Outdated
Show resolved
Hide resolved
This patch improves Cruise Control client creation and testing. It also removes the Kafka admin client creation method. Closes strimzi#10916. Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
/azp run regression |
Azure Pipelines successfully started running 1 pipeline(s). |
topic-operator/src/main/java/io/strimzi/operator/topic/TopicOperatorUtil.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Federico Valeri <[email protected]>
Thanks for the PR. |
Type of change
Description
This patch improves Cruise Control client creation and testing.
It also removes the Kafka admin client creation method.
Closes #10916.
Checklist