123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- #Web?????
- server:
- port: 9403
- #??????
- spring:
- cloud:
- consul:
- discovery:
- prefer-ip-address: true # ip????
- hostname: localhost # ??????
- port: ${server.port}
- health-check-path: /actuator/health # ??????
- health-check-interval: 10s # ??10s??
- register: true # ????
- service-name: ${spring.application.name} # ????
- instance-id: ${spring.application.name}:${server.port}
- host: ${ApplicationCenter.url}
- port: ${ApplicationCenter.port}
- #kafka
- stream:
- kafka:
- binder:
- brokers: ${Kafka.brokers}
- replication-factor: 1
- function:
- definition: userLogStreamConsumer;vipUserStreamConsumer;orderStreamConsumer
- bindings:
- userLogStreamConsumer-in-0:
- destination: UserLogStream
- group: ${project.artifactId}
- vipUserStreamConsumer-in-0:
- destination: VipUserStream
- group: ${project.artifactId}
- orderStreamConsumer-in-0:
- destination: OrderStream
- group: ${project.artifactId}
- bus:
- enabled: true
- #??zipkin???????
- zipkin:
- base-url: ${Zipkin.baseUrl}
- enabled: true
- sender:
- type: web
- sleuth:
- sampler:
- probability: ${Zipkin.sampler.probability}
- wechat:
- merchantId: 1682408108
- privateKey: apiclientkey.pem
- merchantSerialNumber: 4DE673EE8CFEEAABD8AC6A4E2FC02FCD40BB54B5
- apiV3Key: ExrdXlCSbr9R61pU2iacmz0T5JxuLHhL
- # appid: 1111
- transferSceneId: 1000
- cwechat:
- appid: wx3be1d6d84d46cdf7
- secret: 4401df45d409cbf28560e87c4c21b4bf
- swechat:
- appid: wx023ad5ebbcbf0353
- secret: 0d587023ea18ee00eff505f27a2aec22
- #????????
- logging:
- file:
- name: logs/${project.artifactId}.log
- #debug: true
|