| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- server:
- port: 10013
- servlet:
- encoding:
- charset: UTF-8
- force: true
- context-path: /data
- compression:
- enabled: true #开启数据压缩
- mime-types: application/json,application/xml,text/html,text/xml,text/plain
- min-response-size: 2048
- logging:
- file:
- path: log/wookit
- level:
- root: INFO
- "[javax.management]": INFO
- "[org.apache.http]": INFO
- "[org.apache.tomcat.util.net.NioEndpoint]": INFO
- "[sun.rmi]": INFO
- "[com.alibaba.nacos]": ERROR
- #"[org.mongodb.driver.protocol.command]": DEBUG
- tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false.
- spring:
- application:
- name: dataservice
- cloud:
- gateway:
- discovery:
- locator:
- lower-case-service-id: true
- enabled: true
- nacos:
- discovery:
- server-addr: 10.16.0.49:8848
- namespace: 02f60846-3747-424e-a598-2ea9e66dfe87
- redis:
- host: r-wz968zear8t0d8bkbg.redis.rds.aliyuncs.com #Redis服务器地址
- database: 10 # Redis数据库索引(默认为0)
- port: 6379 # Redis服务器连接端口
- password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空)
- jedis:
- pool:
- max-active: 100 # 连接池最大连接数(使用负值表示没有限制)
- max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-idle: 20 # 连接池中的最大空闲连接
- min-idle: 10 # 连接池中的最小空闲连接
- data:
- mongodb:
- uri: mongodb://root:U5Z0Y0fneQnjH3Xj4lENpW0D@dds-wz92ac81710b54241.mongodb.rds.aliyuncs.com:3717,dds-wz92ac81710b54242.mongodb.rds.aliyuncs.com:3717/fujica_data_center?replicaSet=mgset-77298810&authSource=admin&connectTimeoutMS=10000&serverSelectionTimeoutMS=10000&socketTimeoutMS=20000
- rocketmq:
- name-server: 10.16.0.48:9876
- producer:
- group: fujica-producer
- consumer:
- topic:
- topicDcEventAdd: topic_dc_event_add_pro
- topicDcEventBatchAdd: topic_dc_event_batch_add_pro
- topicDcServiceAdd: topic_dc_service_add_pro
- topicDcServiceBatchAdd: topic_dc_service_batch_add_pro
- topicDcServiceBatchDel: topic_dc_service_batch_del_pro
- topicDcServiceBatchUpdate: topic_dc_service_batch_update_pro
- topicDcServiceDel: topic_dc_service_del_pro
- topicDcServiceUpdate: topic_dc_service_update_pro
- group:
- topicDcEventAdd: topic_dc_event_add_pro
- topicDcEventBatchAdd: topic_dc_event_batch_add_pro
- topicDcServiceAdd: topic_dc_service_add_pro
- topicDcServiceBatchAdd: topic_dc_service_batch_add_pro
- topicDcServiceBatchDel: topic_dc_service_batch_del_pro
- topicDcServiceBatchUpdate: topic_dc_service_batch_update_pro
- topicDcServiceDel: topic_dc_service_del_pro
- topicDcServiceUpdate: topic_dc_service_update_pro
- xxl:
- job:
- admin:
- addresses: http://10.16.0.49:8088/xxl-job-admin
- executor:
- appname: dataservice
- address:
- port: 9999
- logretentiondays: 30
- accessToken: default_token
- feign:
- httpclient:
- enabled: true #开启feign连接池
- max-connections: 100
- max-connections-per-route: 50
- client:
- config:
- default:
- connect-timeout: 2000 #默认连接超时时间
- read-timeout: 8000 #默认请求超时时间
- payCenterProxy:
- connect-timeout: 2000 #代理服务连接超时时间
- read-timeout: 25000 #代理服务请求超时时
- async:
- corePoolSize: 2
- maxPoolSize: 8
- queueCapacity: 1000
- namePrefix: async-service-
|