# config-server-demo02-config **Repository Path**: constfafa/config-server-demo02-config ## Basic Information - **Project Name**: config-server-demo02-config - **Description**: spring cloud实现热更新功能 config示例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-06-04 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README config-server配置 1. 添加依赖 compile('org.springframework.boot:spring-boot-starter-amqp') compile('org.springframework.cloud:spring-cloud-bus') compile('org.springframework.cloud:spring-cloud-stream-binder-rabbit') 2. application.yml文件添加 rabbitmq: host: 127.0.0.1 port: 5672 username: guest password: guest 3. shared文件中properties文件添加 spring.rabbitmq.host=127.0.0.1 spring.rabbitmq.port=5672 spring.rabbitmq.username=guest spring.rabbitmq.password=guest