spring cloud config why you want to integrate rabbitMQ

       If more than one service project uses a configuration, when we modify the configuration information, we want to configure services also followed changes, but we have to send a POST a service request http: // xxx: xxx / bus / refresh, or shut down the service back on. This is more troublesome. So here we are using messaging middleware to complete the update configuration issues.

Figure:Spring Cloud Config - unified configuration center

      Spring Cloud Bus Interface provides an http outwardly, i.e. in the drawing / actuator / bus-refresh. We will configure this interface to the remote git, when the contents of the file on git changed, it will automatically call / bus-refresh interface. Bus will notify config-server, config-server will release an update message to the message queue, the message to other subscription services will be refreshed in order to achieve the overall micro service automatically refreshed.

Published 91 original articles · won praise 16 · views 10000 +

Guess you like

Origin blog.csdn.net/fujianmin19910915/article/details/103626693