优化配置信息

pull/13/head
3y 2 years ago
parent 548e7099ad
commit 5c160d47b4

@ -2,32 +2,31 @@
# TODO please replace 【must】 config value # 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】 # todo [database] ip/port/username/password 【must】
austin-database-ip= austin-database-ip=localhost
austin-database-port= austin-database-port=3306
austin-database-username= austin-database-username=root
austin-database-password= austin-database-password=root123_A
# todo [redis] ip/port/password【must】 # todo [redis] ip/port/password【must】
austin-redis-ip= austin-redis-ip=localhost
austin-redis-port= austin-redis-port=5003
austin-redis-password= austin-redis-password=austin
# TODO kafka/eventbus # TODO choose : kafka/eventBus/rocketMq/rabbitMq
austin-mq-pipeline=eventbus austin-mq-pipeline=eventBus
# todo [kafka] ip/port【optional】, if austin-mq-pipeline=kafka 【must】 # todo [kafka] ip/port【optional】, if austin-mq-pipeline=kafka 【must】
austin-kafka-ip= austin-kafka-ip=
austin-kafka-port= austin-kafka-port=
# todo [rocketmq] 【optional】, if austin-mq-pipeline=rocketMq【must】 # todo [rocketMq] 【optional】, if austin-mq-pipeline=rocketMq【must】
austin-rocketmq-nameserver-ip=127.0.0.1 austin-rocketmq-nameserver-ip=
austin-rocketmq-nameserver-port=9876 austin-rocketmq-nameserver-port=
austin-rocketmq-producer-group=unique-producer-group
austin-rocketmq-biz-consumer-group=unique-biz-consumer-group # todo [rabbitMq] 【optional】, if austin-mq-pipeline=rabbitMq【must】
austin-rocketmq-recall-consumer-group=unique-recall-consumer-group austin-rabbitmq-ip=
austin-rabbitmq-port=
# todo [xxl-job] switch/ip/port/【optional】 # todo [xxl-job] switch/ip/port/【optional】
xxl-job.enabled=false xxl-job.enabled=false
@ -62,16 +61,22 @@ spring.kafka.consumer.auto-commit-interval=1000
spring.kafka.consumer.enable-auto-commit=true spring.kafka.consumer.enable-auto-commit=true
##################### rocketmq properties ##################### ##################### 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=${austin-rocketmq-producer-group} rocketmq.producer.group=unique-producer-group
austin-rocketmq-biz-consumer-group=unique-biz-consumer-group
austin-rocketmq-recall-consumer-group=unique-recall-consumer-group
##################### Rabbit properties ##################### ##################### Rabbit properties #####################
server.port=8080
spring.application.name=cl
#RabbitMq所在服务器IP #RabbitMq所在服务器IP
spring.rabbitmq.host=127.0.0.1 spring.rabbitmq.host=${austin-rabbitmq-ip}
#连接端口号 #连接端口号
spring.rabbitmq.port=5672 spring.rabbitmq.port=${austin-rabbitmq-port}
server.port=8080
spring.application.name=cl
#用户名 #用户名
spring.rabbitmq.username=root spring.rabbitmq.username=root
#用户密码 #用户密码
@ -134,3 +139,4 @@ management.endpoint.metrics.enabled=true
management.endpoint.prometheus.enabled=true management.endpoint.prometheus.enabled=true
management.endpoints.web.exposure.include=* management.endpoints.web.exposure.include=*
management.metrics.export.prometheus.enabled=true management.metrics.export.prometheus.enabled=true
management.health.rabbit.enabled=false

Loading…
Cancel
Save