From 175f6d9a21b5a691d7530f30814822b35849a08b Mon Sep 17 00:00:00 2001 From: PQZ Date: Mon, 2 Sep 2024 09:00:08 +0800 Subject: [PATCH] 1 --- .../src/main/resources/application.properties | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 fuintBackend/fuint-application/src/main/resources/application.properties diff --git a/fuintBackend/fuint-application/src/main/resources/application.properties b/fuintBackend/fuint-application/src/main/resources/application.properties new file mode 100644 index 000000000..11db598c7 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/resources/application.properties @@ -0,0 +1,78 @@ +# \u57FA\u672C\u914D\u7F6E +server.port=8081 +env.profile=dev +#env.properties.path=D:/workspaces/oilSystem/fuintBackend/configure/ +#env.properties.path=F:/work/oilSystem/fuintBackend/configure/ +#env.properties.path=D:/oil/new-oil/oilSystem/fuintBackend/configure/ +env.properties.path=D:/Code/yuzhan/oil-station/fuintBackend/configure +#env.properties.path=/www/wwwroot/shenlanshuke/oilAdmin/ + +# \u6570\u636E\u5E93\u914D\u7F6E +spring.datasource.type=com.zaxxer.hikari.HikariDataSource +spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver +spring.cache.type=ehcache +spring.cache.ehcache.config=classpath:ehcache.xml +spring.task.scheduling.pool.size=5 +# \u65E5\u5FD7\u7EA7\u522B +logging.level.com.fuint=info +multipart.max-file-size=20mb +multipart.max-request-size=20mb + +# \u6700\u5927\u4E0A\u4F20\u6587\u4EF6 +spring.servlet.multipart.max-file-size=10MB +spring.servlet.multipart.max-request-size=10MB + +# mybatis\u914D\u7F6E +mybatis-plus.mapper-locations = classpath*:/mapper/*Mapper.xml,classpath*:com/fuint/**/xml/*Mapper.xml +# \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0536\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD +mybatis-plus.configuration.intercepts=com.example.MyInterceptor +# \u9ED8\u8BA4\u65F6\u95F4\u683C\u5F0F +spring.jackson.date-format=yyyy-MM-dd HH:mm:ss + +#logging.level.com.fuint.business.*.mapper:DEBUG +#logging.level.org.springframework.web:DEBUG +#logging.level.java.sql:DEBUG +#logging.level.org.mybatis.spring:DEBUG + +##rocketmq???? +#?????????? +#rocketmq.producer.isOnOff=on +# ????? +rocketmq.name-server=47.95.206.185:9876 + +#rocketmq.producer.namesrvAddr=47.95.206.185:9876 +rocketmq.producer.groupName=anran-producer-group +rocketmq.producer.group=anran-producer-group +rocketmq.producer.topic=anran-topic +# ???? +rocketmq.producer.sync-tag=anran-sync-tags +# ???? +rocketmq.producer.async-tag=anran-async-tags +#?????? ??1024*4(4M) +rocketmq.producer.maxMessageSize=4096 +#????????,??3000 +rocketmq.producer.sendMsgTimeout=3000 +#?????????????2 +rocketmq.producer.retryTimesWhenSendFailed=2 + +# ????? +rocketmq.consumer.group=anran-consumer-group +rocketmq.consumer.topic=anran-topic +# ?????????????? Topic????????????? Tag +rocketmq.consumer.tags=anran-sync-tags,anran-async-tags + + + + +####consumer +###?????????? +#rocketmq.consumer.isOnOff=on +#rocketmq.consumer.groupName=${spring.application.name} +##mq?nameserver?? +#rocketmq.consumer.namesrvAddr=127.0.0.1:9876 +##??????????tags("*"????????????tags),???topic~tag1||tag2||tag3;topic2~*; +#rocketmq.consumer.topics=DemoTopic~*; +#rocketmq.consumer.consumeThreadMin=20 +#rocketmq.consumer.consumeThreadMax=64 +##???????????????1? +#rocketmq.consumer.consumeMessageBatchMaxSize=1