Closed ryanjbaxter closed 2 years ago
@spencergibb let me know what you think about this change....the other option is to continue to return null
but then we will also need fix ConfigServerInstanceProvider
to handle the null
function. Ultimately the end result is the same...an IllegalStateException
will be thrown withe the same error message indicating not being able to find the config server.
@ryanjbaxter I'm wondering if we should extend these changes to other discovery client implementations that could suffer the same problem (Zookeeper, Kubernetes, ...) ?
@xhuy-le yes I will make corresponding changes in Zookeeper and Netflix as well
Fixes #785