|
|
|
@ -1,18 +1,38 @@
|
|
|
|
|
# TODO please replace ${var} !!
|
|
|
|
|
# TODO please replace ${var} !!
|
|
|
|
|
# TODO please replace ${var} !!
|
|
|
|
|
# TODO please replace 【must】 config value
|
|
|
|
|
# TODO please replace 【must】 config value
|
|
|
|
|
# TODO please replace 【must】 config value
|
|
|
|
|
|
|
|
|
|
# todo [database] ip/port/username/password 【must】
|
|
|
|
|
austin-database-ip=
|
|
|
|
|
austin-database-port=
|
|
|
|
|
austin-database-username=
|
|
|
|
|
austin-database-password=
|
|
|
|
|
|
|
|
|
|
# todo [kafka] ip/port【must】
|
|
|
|
|
austin-kafka-ip=
|
|
|
|
|
austin-kafka-port=
|
|
|
|
|
|
|
|
|
|
# todo [redis] ip/port/password【must】
|
|
|
|
|
austin-redis-ip=
|
|
|
|
|
austin-redis-port=
|
|
|
|
|
austin-redis-password=
|
|
|
|
|
|
|
|
|
|
# todo [xxl-job] ip/port【optional】
|
|
|
|
|
austin-xxl-job-ip=
|
|
|
|
|
austin-xxl-job-port=
|
|
|
|
|
|
|
|
|
|
# todo [grayLog] ip【optional】
|
|
|
|
|
austin-grayLog-ip=
|
|
|
|
|
|
|
|
|
|
##################### database properties #####################
|
|
|
|
|
# notice:mysql version 5.7x !!! todo ip port username password
|
|
|
|
|
spring.datasource.url=jdbc:mysql://${ip}:${port}/austin?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
|
|
|
|
|
spring.datasource.username=${username}
|
|
|
|
|
spring.datasource.password=${password}
|
|
|
|
|
# notice:mysql version 5.7x !!!
|
|
|
|
|
spring.datasource.url=jdbc:mysql://${austin-database-ip}:${austin-database-port}/austin?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
|
|
|
|
|
spring.datasource.username=${austin-database-username}
|
|
|
|
|
spring.datasource.password=${austin-database-password}
|
|
|
|
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
|
|
|
|
|
|
|
|
|
##################### kafka properties #####################
|
|
|
|
|
# todo ip port
|
|
|
|
|
spring.kafka.bootstrap-servers=${ip}:${port}
|
|
|
|
|
spring.kafka.bootstrap-servers=${austin-kafka-ip}:${austin-kafka-port}
|
|
|
|
|
spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer
|
|
|
|
|
spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer
|
|
|
|
|
spring.kafka.consumer.key-deserializer=org.apache.kafka.common.serialization.StringDeserializer
|
|
|
|
@ -22,23 +42,20 @@ spring.kafka.consumer.auto-commit-interval=1000
|
|
|
|
|
spring.kafka.consumer.enable-auto-commit=true
|
|
|
|
|
|
|
|
|
|
##################### redis properties #####################
|
|
|
|
|
# todo ip port password
|
|
|
|
|
spring.redis.host=${ip}
|
|
|
|
|
spring.redis.port=${port}
|
|
|
|
|
spring.redis.password=${password}
|
|
|
|
|
spring.redis.host=${austin-redis-ip}
|
|
|
|
|
spring.redis.port=${austin-redis-port}
|
|
|
|
|
spring.redis.password=${austin-redis-password}
|
|
|
|
|
|
|
|
|
|
##################### business properties #####################
|
|
|
|
|
austin.business.topic.name=austinBusiness
|
|
|
|
|
austin.business.log.topic.name=austinLog
|
|
|
|
|
# TODO if need graylog ,replace ip !
|
|
|
|
|
austin.business.graylog.ip=120.48.13.113
|
|
|
|
|
austin.business.graylog.ip=${austin-grayLog-ip}
|
|
|
|
|
# TODO if windows os ,replace path !
|
|
|
|
|
austin.business.upload.crowd.path=/Users/3y/temp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##################### xxl properties #####################
|
|
|
|
|
# todo ip port
|
|
|
|
|
xxl.job.admin.addresses=http://${ip}:${port}/xxl-job-admin
|
|
|
|
|
xxl.job.admin.addresses=http://${austin-xxl-job-ip}:${austin-xxl-job-port}/xxl-job-admin
|
|
|
|
|
xxl.job.admin.username=admin
|
|
|
|
|
xxl.job.admin.password=123456
|
|
|
|
|
xxl.job.executor.appname=austin
|
|
|
|
|