application.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #Web?????
  2. server:
  3. port: 9403
  4. #??????
  5. spring:
  6. cloud:
  7. consul:
  8. discovery:
  9. prefer-ip-address: true # ip????
  10. hostname: localhost # ??????
  11. port: ${server.port}
  12. health-check-path: /actuator/health # ??????
  13. health-check-interval: 10s # ??10s??
  14. register: true # ????
  15. service-name: ${spring.application.name} # ????
  16. instance-id: ${spring.application.name}:${server.port}
  17. host: 192.168.110.241:8500,192.168.110.241:8501,192.168.110.241:8502
  18. port: 8500
  19. #kafka
  20. stream:
  21. kafka:
  22. binder:
  23. brokers: 192.168.110.241:9092,192.168.110.241:9093,192.168.110.241:9094
  24. replication-factor: 1
  25. function:
  26. definition: userLogStreamConsumer;vipUserStreamConsumer
  27. bindings:
  28. userLogStreamConsumer-in-0:
  29. destination: UserLogStream
  30. group: RewardServer
  31. vipUserStreamConsumer-in-0:
  32. destination: VipUserStream
  33. group: RewardServer
  34. bus:
  35. enabled: true
  36. #??zipkin???????
  37. zipkin:
  38. base-url: http://192.168.110.241:9411
  39. enabled: true
  40. sender:
  41. type: web
  42. sleuth:
  43. sampler:
  44. probability: 0.01
  45. wechat:
  46. merchantId: 111
  47. privateKey: 1212
  48. merchantSerialNumber: 111
  49. apiV3Key: 1111
  50. appid: 1111
  51. transferSceneId: 1111
  52. #????????
  53. logging:
  54. file:
  55. name: logs/RewardServer.log
  56. #debug: true