Integration of SpringBoot and Dubbo-zookeeper and monitoring center construction

   The application of Dubbo is very common. Since Alibaba open source, many domestic companies have adopted the architecture of dubbo to develop projects. However, when dubbo was very popular, it suddenly stopped updating. Until recently, Alibaba updated it again, and updated several versions.

Then let's learn about Dubbo, the schematic diagram:

 

  (1) Provider: The exposed service party is called "service provider".

  (2) Consumer: The calling remote service party is called "service consumer".

  (3) Registry: Service registry, which uses zookeeper as the service registry, similar to Springcloud's Eureka, which can provide the function of service discovery and registration.

  (4) Monitor: Service monitoring center, you can view service provider, service consumer information, etc., such as: dubbo-admin.

  Next, build zookeeper and monitoring center

  (1) Zookeeper builds Windows locally, you can refer to this blog, address: http://blog.csdn.net/tlk20071/article/details/52028945 

  (2) Construction of service monitoring center: download of dubbo-admin, address: https://gitee.com/Luke-Lu/dubbo-admin

  ( 3 ) Download the zip package directly. After decompression, copy all the contents under dubbo-admin to ROOT under the webapps of local tomcat. Before running tomcat, start zookeeper first. If the monitoring center is not configured (WEB-INF/dubbo. properties), start tomcat by default, http://localhost:8080, enter root/root when logging in

     

    So far, the construction of the dubbo monitoring center is complete!

   This article is referenced from: https://www.cnblogs.com/gdpuzxs/p/7234321.html

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324839032&siteId=291194637