hanahmily commented on issue #4800:
URL: https://github.com/apache/skywalking/issues/4800#issuecomment-630605709


   spring-cloud uses two modes to watch configmap changes: Polling, and Event. 
That's because it uses Watcher API which can disconnect (network problems, 
timeout, etc). So if users want to avoid them, Polling strategy is the option.
   
   My suggestion is we should adopt to Informer which tries to re-list and 
re-watch to hide such failures from the caller. Below is the example
   
https://github.com/kubernetes-client/java/blob/master/examples/src/main/java/io/kubernetes/client/examples/InformerExample.java


----------------------------------------------------------------
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]


Reply via email to