|
|
|
@ -3,41 +3,42 @@
|
|
|
|
|
# TODO please replace 【must】 config value
|
|
|
|
|
|
|
|
|
|
# todo [database] ip/port/username/password 【must】
|
|
|
|
|
austin-database-ip=localhost
|
|
|
|
|
austin-database-port=3306
|
|
|
|
|
austin-database-username=root
|
|
|
|
|
austin-database-password=root123_A
|
|
|
|
|
austin.database.ip=localhost
|
|
|
|
|
austin.database.port=3306
|
|
|
|
|
austin.database.username=root
|
|
|
|
|
austin.database.password=root123_A
|
|
|
|
|
|
|
|
|
|
# todo [redis] ip/port/password【must】
|
|
|
|
|
austin-redis-ip=localhost
|
|
|
|
|
austin-redis-port=5003
|
|
|
|
|
austin-redis-password=austin
|
|
|
|
|
austin.redis.ip=localhost
|
|
|
|
|
austin.redis.port=5003
|
|
|
|
|
austin.redis.password=austin
|
|
|
|
|
|
|
|
|
|
# TODO choose : kafka/eventBus/rocketMq/rabbitMq
|
|
|
|
|
austin-mq-pipeline=eventBus
|
|
|
|
|
# TODO choose : kafka/eventBus/rocketMq/rabbitMq, default eventBus
|
|
|
|
|
austin.mq.pipeline=eventBus
|
|
|
|
|
|
|
|
|
|
# todo [kafka] ip/port【optional】, if austin-mq-pipeline=kafka 【must】
|
|
|
|
|
austin-kafka-ip=
|
|
|
|
|
austin-kafka-port=
|
|
|
|
|
# todo [kafka] ip/port【optional】, if austin.mq.pipeline=kafka 【must】
|
|
|
|
|
austin.kafka.ip=
|
|
|
|
|
austin.kafka.port=
|
|
|
|
|
|
|
|
|
|
# todo [rocketMq] 【optional】, if austin-mq-pipeline=rocketMq【must】
|
|
|
|
|
austin-rocketmq-nameserver-ip=
|
|
|
|
|
austin-rocketmq-nameserver-port=
|
|
|
|
|
# todo [rocketMq] 【optional】, if austin.mq.pipeline=rocketMq【must】
|
|
|
|
|
austin.rocketmq.nameserver.ip=
|
|
|
|
|
austin.rocketmq.nameserver.port=
|
|
|
|
|
|
|
|
|
|
# todo [rabbitMq] 【optional】, if austin-mq-pipeline=rabbitMq【must】
|
|
|
|
|
austin-rabbitmq-ip=
|
|
|
|
|
austin-rabbitmq-port=
|
|
|
|
|
# todo [rabbitMq] 【optional】, if austin.mq.pipeline=rabbitMq【must】
|
|
|
|
|
austin.rabbitmq.ip=
|
|
|
|
|
austin.rabbitmq.port=
|
|
|
|
|
|
|
|
|
|
# todo [xxl-job] switch/ip/port/【optional】
|
|
|
|
|
xxl-job.enabled=false
|
|
|
|
|
austin-xxl-job-ip=127.0.0.1
|
|
|
|
|
austin-xxl-job-port=6767
|
|
|
|
|
# todo [xxl-job] switch 【optional】, if austin.xxl.job.enabled=true 【must】
|
|
|
|
|
austin.xxl.job.enabled=false
|
|
|
|
|
austin.xxl.job.ip=127.0.0.1
|
|
|
|
|
austin.xxl.job.port=6767
|
|
|
|
|
|
|
|
|
|
# todo [apollo] switch 【optional】
|
|
|
|
|
apollo.enabled=false
|
|
|
|
|
# todo choose: apollo/nacos switch 【optional】 ,if apollo and nacos both false, use local.properties
|
|
|
|
|
austin.apollo.enabled=false
|
|
|
|
|
austin.nacos.enabled=false
|
|
|
|
|
|
|
|
|
|
# todo [grayLog] ip 【optional】
|
|
|
|
|
austin-grayLog-ip=127.0.0.1
|
|
|
|
|
austin.grayLog.ip=127.0.0.1
|
|
|
|
|
|
|
|
|
|
##################### system properties #####################
|
|
|
|
|
server.shutdown=graceful
|
|
|
|
@ -45,13 +46,13 @@ server.shutdown=graceful
|
|
|
|
|
|
|
|
|
|
##################### database properties #####################
|
|
|
|
|
# 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.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 #####################
|
|
|
|
|
spring.kafka.bootstrap-servers=${austin-kafka-ip}:${austin-kafka-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
|
|
|
|
@ -62,18 +63,18 @@ spring.kafka.consumer.enable-auto-commit=true
|
|
|
|
|
|
|
|
|
|
##################### rocketmq properties #####################
|
|
|
|
|
|
|
|
|
|
rocketmq.name-server=${austin-rocketmq-nameserver-ip}:${austin-rocketmq-nameserver-port}
|
|
|
|
|
rocketmq.name-server=${austin.rocketmq.nameserver.ip}:${austin.rocketmq.nameserver.port}
|
|
|
|
|
rocketmq.producer.group=unique-producer-group
|
|
|
|
|
austin-rocketmq-biz-consumer-group=unique-biz-consumer-group
|
|
|
|
|
austin-rocketmq-recall-consumer-group=unique-recall-consumer-group
|
|
|
|
|
austin.rocketmq.biz.consumer.group=unique-biz-consumer-group
|
|
|
|
|
austin.rocketmq.recall.consumer.group=unique-recall-consumer-group
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##################### Rabbit properties #####################
|
|
|
|
|
#RabbitMq所在服务器IP
|
|
|
|
|
spring.rabbitmq.host=${austin-rabbitmq-ip}
|
|
|
|
|
spring.rabbitmq.host=${austin.rabbitmq.ip}
|
|
|
|
|
#连接端口号
|
|
|
|
|
spring.rabbitmq.port=${austin-rabbitmq-port}
|
|
|
|
|
spring.rabbitmq.port=${austin.rabbitmq.port}
|
|
|
|
|
|
|
|
|
|
server.port=8080
|
|
|
|
|
spring.application.name=cl
|
|
|
|
@ -90,16 +91,16 @@ austin.rabbitmq.topic.name=austinRabbit
|
|
|
|
|
austin.rabbitmq.exchange.name=austin.point
|
|
|
|
|
|
|
|
|
|
##################### redis properties #####################
|
|
|
|
|
spring.redis.host=${austin-redis-ip}
|
|
|
|
|
spring.redis.port=${austin-redis-port}
|
|
|
|
|
spring.redis.password=${austin-redis-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.recall.topic.name=austinRecall
|
|
|
|
|
austin.business.recall.group.name=recallGroupId
|
|
|
|
|
austin.business.log.topic.name=austinTraceLog
|
|
|
|
|
austin.business.graylog.ip=${austin-grayLog-ip}
|
|
|
|
|
austin.business.graylog.ip=${austin.grayLog.ip}
|
|
|
|
|
|
|
|
|
|
# TODO kafka tag filter,if you need, replace tagIdValue ,eg:com.java3y.austin.yyy
|
|
|
|
|
austin.business.tagId.key=kafka_tag_id
|
|
|
|
@ -109,7 +110,7 @@ austin.business.tagId.value=com.java3y.austin.3y
|
|
|
|
|
austin.business.upload.crowd.path=/Users/3y/temp
|
|
|
|
|
|
|
|
|
|
##################### xxl properties #####################
|
|
|
|
|
xxl.job.admin.addresses=http://${austin-xxl-job-ip}:${austin-xxl-job-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
|
|
|
|
@ -122,15 +123,14 @@ xxl.job.accessToken=
|
|
|
|
|
|
|
|
|
|
##################### apollo #####################
|
|
|
|
|
app.id=austin
|
|
|
|
|
apollo.bootstrap.enabled=${apollo.enabled}
|
|
|
|
|
apollo.bootstrap.enabled=${austin.apollo.enabled}
|
|
|
|
|
apollo.bootstrap.namespaces=boss.austin,dynamic-tp-apollo-dtp.yml
|
|
|
|
|
|
|
|
|
|
##################### nacos #####################
|
|
|
|
|
austin.nacos.enabled=true
|
|
|
|
|
austin.nacos.server=
|
|
|
|
|
austin.nacos.dataId=
|
|
|
|
|
austin.nacos.group=
|
|
|
|
|
austin.nacos.namespace=
|
|
|
|
|
austin.nacos.dataId=austin
|
|
|
|
|
austin.nacos.group=DEFAULT_GROUP
|
|
|
|
|
austin.nacos.namespace=9537c674-f3a6-4203-b286-ef0c36bfacb2
|
|
|
|
|
|
|
|
|
|
##################### httpUtils properties #####################
|
|
|
|
|
ok.http.connect-timeout=30
|
|
|
|
|