优化配置信息

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 [database] ip/port/username/password 【must】
austin-database-ip=
austin-database-port=
austin-database-username=
austin-database-password=
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=
austin-redis-port=
austin-redis-password=
austin-redis-ip=localhost
austin-redis-port=5003
austin-redis-password=austin
# TODO kafka/eventbus
austin-mq-pipeline=eventbus
# TODO choose : kafka/eventBus/rocketMq/rabbitMq
austin-mq-pipeline=eventBus
# 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=127.0.0.1
austin-rocketmq-nameserver-port=9876
austin-rocketmq-producer-group=unique-producer-group
austin-rocketmq-biz-consumer-group=unique-biz-consumer-group
austin-rocketmq-recall-consumer-group=unique-recall-consumer-group
# 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 [xxl-job] switch/ip/port/【optional】
xxl-job.enabled=false
@ -62,16 +61,22 @@ spring.kafka.consumer.auto-commit-interval=1000
spring.kafka.consumer.enable-auto-commit=true
##################### rocketmq properties #####################
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 #####################
server.port=8080
spring.application.name=cl
#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
#用户密码
@ -134,3 +139,4 @@ management.endpoint.metrics.enabled=true
management.endpoint.prometheus.enabled=true
management.endpoints.web.exposure.include=*
management.metrics.export.prometheus.enabled=true
management.health.rabbit.enabled=false

Loading…
Cancel
Save