# spring-cloud-dalston **Repository Path**: LeoSong121/spring-cloud-dalston ## Basic Information - **Project Name**: spring-cloud-dalston - **Description**: Spring Cloud --Dalston版本教程。 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 9 - **Forks**: 0 - **Created**: 2018-08-08 - **Last Updated**: 2025-08-22 ## Categories & Tags **Categories**: sample-code **Tags**: None ## README # spring-cloud-dalston #### 项目介绍 Spring Cloud --Dalston版本教程。 #### 软件架构 软件架构说明 #### 安装教程 1. jdk1.8+ 2. maven 3.0+ 3. spring boot 1.5版本 #### 使用说明 __EUREKA-SERVER__: 服务注册与发现(Eureka、Consul) 访问地址:[http://localhost:2001/](http://localhost:2001/) __EUREKA-CLIENT__:服务提供方 访问地址:[http://localhost:7001/dc](http://localhost:7001/dc) __EUREKA-CONSUMER__:服务消费者(基础) 访问地址:[http://localhost:7101/consumer](http://localhost:7101/consumer) __EUREKA-CONSUMER-RIBBON__:客户端负载均衡的工具 访问地址:[http://localhost:7102/consumer](http://localhost:7102/consumer) __EUREKA-CONSUMER-FEIGN__:一套基于Netflix Feign实现的声明式服务调用客户端。 访问地址:[http://localhost:7103/consumer](http://localhost:7103/consumer) __config-server-git__:分布式配置中心服务端. Spring Cloud Config是Spring Cloud团队创建的一个全新项目,用来为分布式系统中的基础设施和微服务应用提供集中化的外部配置支持,它分为服务端与客户端两个部分。 访问地址:[http://localhost:7201/config-client/dev/master](http://localhost:7201/config-client/dev/master) __config-client__:分布式配置中心客户端. 访问地址:[http://localhost:7202/info](http://localhost:7202/info),或者http://localhost:7202/hi __eureka-consumer-ribbon-hystrix__:服务容错保护(Hystrix服务降级) 访问地址:[http://localhost:7301/consumer](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. 主要参考链接:http://blog.didispace.com/Spring-Cloud基础教程/ 2. 楼主博客:https://blog.csdn.net/qq_26878363 3. 4. #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [http://git.mydoc.io/](http://git.mydoc.io/) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)