application.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #Web服务器端口
  2. server:
  3. port: 9000
  4. debug: true
  5. spring:
  6. application:
  7. name: fullCardServer
  8. profiles:
  9. active: dev
  10. #
  11. ##允许消息总线
  12. #spring:
  13. # cloud:
  14. # consul:
  15. # discovery:
  16. # prefer-ip-address: true # ip自动注册
  17. # hostname: localhost # 配置实例地址
  18. # port: ${server.port}
  19. # health-check-path: /actuator/health # 检测实例健康
  20. # health-check-interval: 10s # 每隔10s检查
  21. # register: true # 自动注册
  22. # service-name: ${spring.application.name} # 实例名称
  23. # instance-id: ${spring.application.name}:${server.port}
  24. # host: 192.168.0.104:8500
  25. # port: 8500
  26. #
  27. #
  28. # #kafka
  29. # stream:
  30. # kafka:
  31. # binder:
  32. # brokers: 192.168.0.104:9092
  33. # replication-factor: 1
  34. # bindings:
  35. # userLogStreamConsumer-in-0:
  36. # destination: UserLogStream
  37. # group: FullCardServer
  38. # function: #注意:此处有调整
  39. # definition: userLogStreamConsumer
  40. #
  41. # bus:
  42. # enabled: true
  43. # #配置zipkin链路追踪客户端
  44. # zipkin:
  45. # base-url: http://192.168.0.104:9411
  46. # enabled: true
  47. # sender:
  48. # type: web
  49. # sleuth:
  50. # sampler:
  51. # probability: 0.01
  52. #
  53. # thymeleaf:
  54. # suffix: .html
  55. # mode: HTML
  56. # prefix: classpath:/templates/
  57. # cache: false
  58. # encoding: UTF-8
  59. #
  60. #
  61. #
  62. #
  63. #
  64. ##调试或者输出日志
  65. #logging:
  66. # file:
  67. # name: logs/FullCardServer.log