# springcloud202009 **Repository Path**: tmhbatw/springcloud202009 ## Basic Information - **Project Name**: springcloud202009 - **Description**: 微服务之springcloud 、spring alibaba - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-05-31 - **Last Updated**: 2022-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 一、前言 1. 相关技术文档 - [Spring Cloud](https://spring.io/projects/spring-cloud) - [Spring Cloud Netflix](https://docs.spring.io/spring-cloud-netflix/docs/2.2.5.RELEASE/reference/html/) - [Spring Cloud 版本选择](https://github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Hoxton-Release-Notes) 2. Bus总线 采用RabbitMQ作为消息队列,则需要本地RabbitMQ环境 - [Erlang download](https://www.erlang.org/downloads) - [RabbitMQ download](https://www.rabbitmq.com/download.html) [RabbitMQ github](https://github.com/rabbitmq/rabbitmq-server/) - rabbitmq/sbin/: 执行 rabbitmq-plugins enable rabbitmq_management - 访问web: http://localhost:15672 (username:guest, passwd: guest) - 修改github配置文件,重新刷新config server节点,使得在消息总控处一次刷新,各个config client节点则会自动获取到最新版本的配置文件 curl -X POST "http://localhost:9002/actuator/bus-refresh" - 如果config server只想通知某个config client,则需要指定要通知的服务:"config client服务名:端口" curl -X POST "http://{config server host}:{config server port}/actuator/bus-refresh/{config client applicationName}:{config client port} curl -X POST "http://localhost:9002/actuator/bus-refresh/order-client:6001"