data-service-dev.yml 672 B

12345678910111213141516171819202122232425262728
  1. server:
  2. port: 8823
  3. # 驱动配置信息
  4. spring:
  5. cloud:
  6. stream:
  7. bindings:
  8. outputLog:
  9. destination: myLog
  10. # contentType: text/plain # 实体 json string 在传递的类型装换 查看 http://docs.spring
  11. outputBiLog:
  12. destination: myBiLog
  13. #mq
  14. rabbitmq:
  15. host: 192.168.2.236
  16. port: 5672
  17. username: lantone
  18. password: lantone
  19. publisher-confirms: true
  20. virtual-host: /
  21. # 配置缓存,初始缓存容量,最大容量,过期时间(这里配置写入后过期时间10小时)
  22. cache:
  23. type: caffeine
  24. caffeine:
  25. spec: initialCapacity=10,maximumSize=200,refreshAfterWrite=36000s