application-job-prd.properties 1.1 KB

123456789101112131415161718192021222324252627282930
  1. server.port=8081
  2. server.servlet.context-path=/meter/reading/job
  3. logging.level.root=info
  4. logging.file.path=./logs
  5. #########################################XXL Job配置#################################################
  6. xxl.job.admin.addresses=http://10.0.0.71:8081/xxl-job-admin
  7. xxl.job.accessToken=
  8. xxl.job.executor.appname=meter-reading-executor
  9. xxl.job.executor.address=
  10. xxl.job.executor.ip=
  11. xxl.job.executor.port=18081
  12. xxl.job.executor.logpath=/home/app/prd/meter-reading-job/xxl-job/jobhandler
  13. xxl.job.executor.logretentiondays=30
  14. #########################################Rabbit MQ 配置#############################################
  15. spring.rabbitmq.host=47.112.217.10
  16. spring.rabbitmq.port=5672
  17. spring.rabbitmq.username=zoniot
  18. spring.rabbitmq.password=zcxk100
  19. spring.rabbitmq.virtual-host=/
  20. spring.rabbitmq.connection-timeout=1000ms
  21. # 开启发送确认
  22. spring.rabbitmq.publisher-confirm-type=correlated
  23. # 开启发送失败退回
  24. spring.rabbitmq.publisher-returns=true
  25. spring.rabbitmq.template.mandatory=true
  26. # 开启ACK
  27. spring.rabbitmq.listener.direct.acknowledge-mode=manual
  28. spring.rabbitmq.listener.simple.acknowledge-mode=manual
  29. # 任务队列
  30. job.task.rabbit.exchange=job-task-exchange