1 Star 0 Fork 0

zbeboy/springboot-demo-config-repo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
resource-dev.yml 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
zbeboy 提交于 2022-03-16 14:22 . finish
spring:
task:
execution:
pool:
max-size: 16
queue-capacity: 100
cloud:
consul:
discovery:
prefer-ip-address: true
instance-id: ${spring.application.name}:${spring.cloud.client.ip-address}:${server.port}
serviceName: ${spring.application.name}
healthCheckPath: /actuator/health
healthCheckInterval: 20s
circuitbreaker:
bulkhead:
resilience4j:
enabled: false
datasource:
url: jdbc:mariadb://${mysql.host}/demo?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: ENC(RH87o9wQUk4fuDwVtBoSI1IfjFmvIIgt8Qc4AUyJXNNanm6/kT/cXDJ0arkFZfLI)
password: ENC(KMJd6ZIRiR5SMhS0HHQuwAGt5c/po+wEqkCAoWDCCA+4aVJ616cg9swa8BUUy9ji)
driver-class-name: org.mariadb.jdbc.Driver
hikari:
connection-test-query: select 1;
maximum-pool-size: 80
validation-timeout: 10000
data-source-properties:
cachePrepStmts: true
prepStmtCacheSize: 250
prepStmtCacheSqlLimit: 2048
useServerPrepStmts: true
useLocalSessionState: true
rewriteBatchedStatements: true
cacheResultSetMetadata: true
cacheServerConfiguration: true
elideSetAutoCommits: true
maintainTimeStats: false
server:
port: 7000 # 服务端口
shutdown: graceful
feign:
client:
config:
default:
connectTimeout: 10000
readTimeout: 10000
loggerLevel: basic
circuitbreaker:
enabled: true
logging:
config: classpath:log4j2-dev.xml
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zbeboy/springboot-demo-config-repo.git
git@gitee.com:zbeboy/springboot-demo-config-repo.git
zbeboy
springboot-demo-config-repo
springboot-demo-config-repo
master

搜索帮助