-
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
Move connect configuration set up to the operator #11062
base: main
Are you sure you want to change the base?
Conversation
33fada7
to
35ce42e
Compare
35ce42e
to
0316eb6
Compare
0316eb6
to
c7e3a26
Compare
cluster-operator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectCluster.java
Outdated
Show resolved
Hide resolved
cluster-operator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectCluster.java
Outdated
Show resolved
Hide resolved
...erator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectConfigurationBuilder.java
Outdated
Show resolved
Hide resolved
...erator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectConfigurationBuilder.java
Outdated
Show resolved
Hide resolved
cluster-operator/src/main/java/io/strimzi/operator/cluster/model/KafkaMirrorMaker2Cluster.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Gantigmaa Selenge <[email protected]>
76e7c40
to
2e90d3a
Compare
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.
@tinaselenge The code looks good. But the unit test failures seem to be related to this change. Can you please have a look at it? Thanks.
...erator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectConfigurationBuilder.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Gantigmaa Selenge <[email protected]>
2e90d3a
to
b905456
Compare
/azp run regression |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run upgrade |
Azure Pipelines successfully started running 1 pipeline(s). |
FYI: I can restart the regression if needed. But the failures seem all related to Connect / MM2. |
cbcd7d5
to
9cd1241
Compare
@tinaselenge now it's the build to fail and it's related to tests for this PR AFAICS. |
@ppatierno @scholzj thanks. Yes I have been working to fix the tests. |
Signed-off-by: Gantigmaa Selenge <[email protected]>
9cd1241
to
b68548d
Compare
@scholzj can you please kick off the regression tests again? I need to look into RackAwarenessST again as it previously read consumer.client.rack from strimzi-connect.properties file by exec-ing into the pod. However, this config value is now provided through config provider. I will look into how/if we can make this test check the actual value. For now, this test should still pass. |
/azp run regression |
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Gantigmaa Selenge <[email protected]>
@scholzj @ppatierno can one of you please kick off the regression tests again? I believe I fixed the ones that failed before. Thank you |
/azp run regression |
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Gantigmaa Selenge <[email protected]>
/azp run regression |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Added a bunch of comments, all nits around method naming and consistent javadoc. Particularly in the new class I think we should try to be consistent so it's easier to navigate, otherwise it looks good to me
} | ||
|
||
/** | ||
* Prints the file header which is on the beginning of the configuration file. |
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.
* Prints the file header which is on the beginning of the configuration file. | |
* Internal method which prints the file header which is at the beginning of the configuration file. |
Aligning the Javadoc with elsewhere where we explicitly declare which methods are internal. I don't think we necessarily need to explicitly state they are internal since the they are private methods, but we should be consistent in the Javadoc
...erator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectConfigurationBuilder.java
Outdated
Show resolved
Hide resolved
...erator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectConfigurationBuilder.java
Outdated
Show resolved
Hide resolved
...erator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectConfigurationBuilder.java
Outdated
Show resolved
Hide resolved
cluster-operator/src/test/java/io/strimzi/operator/cluster/model/KafkaConnectClusterTest.java
Outdated
Show resolved
Hide resolved
cluster-operator/src/test/java/io/strimzi/operator/cluster/model/KafkaConnectClusterTest.java
Outdated
Show resolved
Hide resolved
/azp run upgrade |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
One nt. But LGTM otherwise. Thanks.
...erator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectConfigurationBuilder.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Gantigmaa Selenge <[email protected]>
db58cdf
to
97c929f
Compare
Type of change
Description
Generates a config map containing Kafka Connect configurations instead of setting them up using shell script.
Addresses part of #10668.
Checklist
Please go through this checklist and make sure all applicable tasks have been done