# kym-springcloud **Repository Path**: k_ym/kym-springcloud ## Basic Information - **Project Name**: kym-springcloud - **Description**: springcloud学习 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-11-03 - **Last Updated**: 2021-04-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # kym-springcloud #### 介绍 springcloud学习 config-server(分布式配置中心) 分布式配置中心(spring cloud config)[gitee] + 消息总线(spring cloud bus)[rabbitmq] 刷新配置中心git信息 http://localhost:8888/actuator/bus-refresh, 通过消息总线刷新各个模块 中的培训信息。(其他模块需要实现config和消息总线)[可以增加git WebHooks实现自动配置中心] eureka-client (生产者) 实现分布式配置中心客户端和消息总线 eureka-consumer-feign-hystrix (消费者) 声明式服务调用客户端(spring cloud openfeign)+ 断路器(spring cloud netflix Hystrix) eureka-server (服务注册中心) gateway (服务网关) 网关(spring cloud Zuul) hystrix-dashboard-turbine (监控聚合数据面板) Hystrix Dashboard来实时监控HystrixCommand方法的执行情况 + Turbine汇集监控信息 (spring cloud netflix hystrix dashboard + spring cloud netflix turbine) 注意Feign获取hystrix.stream信息需要添加以下bean public ServletRegistrationBean getServlet() #### 软件架构 spring-cloud-netflix Eureka --服务注册中心 Ribbon --负载均衡 Hystrix --断路器 Zuul --网关 hystrix-dashboard --Hystrix监控面板 turbine --聚合监控信息 spring-cloud-openfeign --声明式服务调用客户端 spring-cloud-config --分布式配置中心 spring-cloud-bus --消息总线 Alibaba --Spring Cloud Alibaba Nacos --注册中心、配置中心、Bus