Skip to content

[FLINK-37292] [cdc] Remove the flink-kubernetes dependencies during the packaging of flink-cdc-dist #4024

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aiwenmo
Copy link
Contributor

@aiwenmo aiwenmo commented May 22, 2025

The Flink-Kubernetes dependency embedded in the packaging of flink-cdc-dist is incompatible with Flink <=1.19.

In Flink 1.20, The constructor of KubernetesClusterDescriptor has added the input parameter KubernetesArtifactUploader.
Therefore, it leads to a method conflict of KubernetesClusterDescriptor in the Kubernetes application submission mode. And this parameter doesn't exist in lower Flink versions.

We should exclude it during the packaging process, just like what is done in flink-yarn, to avoid incompatibility issues of flink- with lower versions.

@aiwenmo
Copy link
Contributor Author

aiwenmo commented May 25, 2025

@Mrart @LYanquan @yuxiqian PTAL

@lvyanquan
Copy link
Contributor

Do users need to manually place other k8s dependencies in the Flink lib? If necessary, this operation needs to be explained in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants