flink-cdc icon indicating copy to clipboard operation
flink-cdc copied to clipboard

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

Open aiwenmo opened this issue 9 months ago • 3 comments

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 avatar May 22 '25 17:05 aiwenmo

@Mrart @LYanquan @yuxiqian PTAL

aiwenmo avatar May 25 '25 14:05 aiwenmo

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

lvyanquan avatar May 26 '25 05:05 lvyanquan

This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 60 days if no further activity occurs.

github-actions[bot] avatar Sep 24 '25 00:09 github-actions[bot]