The zookeeper registration center of dubbo framework is down, will an error be reported when calling the service?

will not.

the reason

This is because when dubbo is started, consumers will pull data such as the address interface of the registered producer from zk and cache it locally. Each time it is called, it is called according to the address stored locally, and: the
registration center is a peer-to-peer cluster. After any one goes down, it will automatically switch to another
registration center and all go down, service providers and consumers can still pass Local cache communication The
service provider is stateless. After any one is down, it will not affect the use
. All service providers are down, and the service consumers will be unavailable, and will reconnect indefinitely and wait for the server to recover.

After closing zk, producers and consumers will keep reconnecting to zk.

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_28822933/article/details/85342396