Spring Cloud --Dalston版本教程。
软件架构说明
EUREKA-SERVER: 服务注册与发现(Eureka、Consul)
访问地址:http://localhost:2001/
EUREKA-CLIENT:服务提供方
访问地址:http://localhost:7001/dc
EUREKA-CONSUMER:服务消费者(基础)
访问地址:http://localhost:7101/consumer
EUREKA-CONSUMER-RIBBON:客户端负载均衡的工具
访问地址:http://localhost:7102/consumer
EUREKA-CONSUMER-FEIGN:一套基于Netflix Feign实现的声明式服务调用客户端。
访问地址:http://localhost:7103/consumer
config-server-git:分布式配置中心服务端.
Spring Cloud Config是Spring Cloud团队创建的一个全新项目,用来为分布式系统中的基础设施和微服务应用提供集中化的外部配置支持,它分为服务端与客户端两个部分。
访问地址:http://localhost:7201/config-client/dev/master
config-client:分布式配置中心客户端.
访问地址:http://localhost:7202/info,或者http://localhost:7202/hi
eureka-consumer-ribbon-hystrix:服务容错保护(Hystrix服务降级)
访问地址:http://localhost:7301/consumer
hystrix-dashboard: Hystrix监控面板
访问地址: http://localhost:7302/hystrix (Hystrix Dashboard: http://localhost:7301/hystrix.stream)
turbine Hystrix: 监控数据聚合--通过HTTP收集聚合
访问地址: http://localhost:7302/hystrix (Hystrix Dashboard: http://localhost:7305/turbine.stream)
turbine-amqp Hystrix: 监控数据聚合--通过消息代理收集聚合
访问地址: http://localhost:7302/hystrix (Hystrix Dashboard: http://localhost:7307/turbine.stream)
api-gateway: 服务网关(基础)
访问地址: http://localhost:7400/eureka-client/dc
swagger-api-gateway:服务网关(API文档汇总)
访问地址: http://localhost:7500/swagger-ui.html
stream-hello: Spring Cloud Stream是一个用来为微服务应用构建消息驱动能力的框架。+RabbitMQ
访问地址: http://localhost:7505/
trace-1,trace_2: sleuth分布式服务跟踪(入门)(整合logstash)(整合zipkin--HTTP收集,消息中间件收集)
http://localhost:7601/trace-1
zipkin-server: Zipkin是Twitter的一个开源项目,它基于Google Dapper实现。我们可以使用它来收集各个服务器上请求链路的跟踪数据,并通过它提供的REST API接口来辅助我们查询跟踪数据以实现对分布式系统的监控程序,从而及时地发现系统中出现的延迟升高问题并找出系统性能瓶颈的根源。
http://localhost:9411/zipkin/
config-client: 消息总线(Spring Cloud Bus)。
http://localhost:7202/bus/refresh--刷新配置。http://localhost:7202/hi--访问结果
另外,/bus/refresh接口可以指定服务,即使用”destination”参数,比如 “/bus/refresh?destination=customers:**” 即刷新服务名为customers的所有服务,不管ip。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型