yittg commented on a change in pull request #15501:
URL: https://github.com/apache/flink/pull/15501#discussion_r619000133
##########
File path:
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesLeaderElectionDriver.java
##########
@@ -105,7 +101,8 @@ public KubernetesLeaderElectionDriver(
running = true;
leaderElector.run();
kubernetesWatch =
- kubeClient.watchConfigMaps(configMapName, new
ConfigMapCallbackHandlerImpl());
+ checkNotNull(configMapSharedWatcher, "ConfigMap Shared
Informer")
Review comment:
All new registered listener will receive a ADDED event if the current
value of the resource is not null after the processor find it in
`addOrRemoveListener`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]