-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[FLINK-34853] Draft: Submit CDC Job To Flink K8S Native Application Mode #3093
Conversation
5d0f014
to
9d7495f
Compare
...c/main/java/org/apache/flink/cdc/composer/flink/executors/K8SApplicationComposeExecutor.java
Outdated
Show resolved
Hide resolved
flink-cdc-cli/src/main/java/org/apache/flink/cdc/cli/CliFrontendOptions.java
Show resolved
Hide resolved
flink-cdc-cli/src/main/java/org/apache/flink/cdc/cli/CliExecutor.java
Outdated
Show resolved
Hide resolved
flink-cdc-cli/src/main/java/org/apache/flink/cdc/cli/CliFrontend.java
Outdated
Show resolved
Hide resolved
flink-cdc-cli/src/main/java/org/apache/flink/cdc/cli/utils/ConfigurationUtils.java
Outdated
Show resolved
Hide resolved
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 for the great contribution, I left some comments.
flink-cdc-cli/src/main/java/org/apache/flink/cdc/cli/CliFrontendOptions.java
Show resolved
Hide resolved
.../main/java/org/apache/flink/cdc/composer/flink/deployment/K8SApplicationComposeExecutor.java
Outdated
Show resolved
Hide resolved
90a2004
to
f99e63d
Compare
f99e63d
to
de0c4ce
Compare
de0c4ce
to
3956e04
Compare
b15ee30
to
7d1ae74
Compare
@czy006 Could you rebase the PR to the latest master? Thanks |
7d1ae74
to
06dc105
Compare
32fc93e
to
7d20b0c
Compare
7d20b0c
to
0ff4614
Compare
Hi @czy006, is there any updates on this? Seems this PR is still in draft stage and not ready for review and merge. Feel free to comment if there's anything blocking this. |
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 for @czy006's great work! Still don't feel certain about some parts of this PR, could you please kindly clarify it?
...r/src/main/java/org/apache/flink/cdc/composer/flink/deployment/ComposeDeploymentFactory.java
Outdated
Show resolved
Hide resolved
flink-cdc-cli/src/test/java/org/apache/flink/cdc/cli/CliFrontendTest.java
Show resolved
Hide resolved
...in/java/org/apache/flink/cdc/composer/flink/deployment/K8SApplicationDeploymentExecutor.java
Outdated
Show resolved
Hide resolved
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 Dockerfile
& mysql-doris
generic deployment configurations or just an example? Maybe somewhere like /example
or /conf
is better than putting them at root?
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 there any test cases for K8s deployment?
flink-cdc-cli/src/main/java/org/apache/flink/cdc/cli/CliFrontendOptions.java
Show resolved
Hide resolved
mysql-doris.yaml
Outdated
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.
Same concern like Dockerfile
, maybe it's not ideal to put it in root folder.
fafc8a7
to
9f9877f
Compare
Thanks for @PatrickRen help improving CI and Unit Tests. I will help Review this PR |
Seems this PR changes how CDC CLI behaves. Previously, by running However, now CLI will not quit and prints all events out synchronously, as if it's in the "mini-cluster" mode. It won't quit until job finishes, so e2e / Migration tests will never finish. |
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.
@czy006 Thanks for the PR! LGTM
Is there any information on how to use this? It seems to be part of the 3.2.0 release but I couldn't find any documentation for it. |
Support Submit CDC Job To Flink K8S Native Application Mode #2934
Design Doc: https://docs.google.com/document/d/1HlvRS5aVNqPtOx14mynEL3RFaZORuTFkWZAjvl4k998/edit?usp=sharing