spring: application: name: szwl-server cloud: config: name: szwl-server discovery: service-id: config-server # 是否获取配置中心配置 enabled: false datasource: url: jdbc:mysql://rm-wz995mu26a1479kz0so.mysql.rds.aliyuncs.com:3306/szwl username: root password: sunzee@020 driver-class-name: com.mysql.jdbc.Driver # stream: # # 如果你项目里只对接一个中间件,那么不用定义binders # # 当系统要定义多个不同消息中间件的时候,使用binders定义 # binders: # my-rabbit: # type: rabbit # environment: # spring: # rabbitmq: # addresses: 112.74.63.148:5672,120.78.140.173:5672,47.112.127.131:5672 # username: zwlzwlzwl # password: 123456 # virtual-host: / # publisher-confirms: true # connection-timeout: 5s # mandatory: true # template.mandatory: true # publisher-returns: true # cache.channel.size: 1000 # concurrency: 500 # max-concurrency: 2000 # listener.simple.concurrency: 1000 # listener.simple.max-concurrency: 2000 #spring: rabbitmq: addresses: 112.74.63.148:5672,120.78.140.173:5672,47.112.127.131:5672 username: zwlzwlzwl password: 123456 virtual-host: / # publisher-confirms: true connection-timeout: 5s mandatory: true template.mandatory: true publisher-returns: true cache.channel.size: 1000 concurrency: 500 max-concurrency: 2000 listener.simple.concurrency: 1000 listener.simple.max-concurrency: 2000 elasticSearch: host: 120.78.140.173 #elasticSearch.host: 10.0.0.155 port: 9200 client.connectNum: 1000 connectPerRoute: 50 client.esUserName: elastic client.esPassword: sunzee@020 server: port: 49011 management: endpoints: web: exposure: include: refresh eureka: client: service-url: defaultZone: http://112.74.63.148:49001/eureka/ register-with-eureka: true instance: prefer-ip-address: true # ip-address: 10.241.20.241 mybatis-plus: mapper-locations: classpath:com/szwl/mapper/xml/*.xml logging: level: com.szwl: debug