[
https://issues.apache.org/jira/browse/FLINK-31851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Pohl closed FLINK-31851.
---------------------------------
Resolution: Won't Fix
I did some more code digging and noticed that we actually already support the
fixed-string configuration in
[HighAvailabilityServicesUtils:138|https://github.com/apache/flink/blob/fb05a7be9b828b7e582e75e4832443806fa4ff17/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/HighAvailabilityServicesUtils.java#L138].
There, we use the {{KubernetesHaServicesFactory}} and keep the generic class
config option as a fallback. Therefore, there's nothing else to be done besides
removing the {{KubernetesMultipleComponentLeaderElectionHaServicesFactory}} as
part of FLINK-32419.
> Remove unused KubernetesMultipleComponentLeaderElectionHaServicesFactory
> ------------------------------------------------------------------------
>
> Key: FLINK-31851
> URL: https://issues.apache.org/jira/browse/FLINK-31851
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Coordination
> Reporter: Weijie Guo
> Priority: Major
>
> It seems that KubernetesMultipleComponentLeaderElectionHaServicesFactory is
> unused in the codebase and its code is exactly the same as
> KubernetesHaServicesFactory. We should remove it after FLIP-285. More
> aggressive, we can even remove both HaServicesFactory related to kubernetes
> and adopt a similar approach to
> HighAvailabilityServicesUtils#createZooKeeperHaServices.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)