126 lines
3.7 KiB
Properties
126 lines
3.7 KiB
Properties
|
|
#Server Configuration
|
|||
|
|
server.port=8089
|
|||
|
|
server.servlet.context-path=/xdrservice
|
|||
|
|
#server.address=0.0.0.0
|
|||
|
|
server.tomcat.uri-encoding=UTF-8
|
|||
|
|
server.error.include-message=always
|
|||
|
|
server.error.include-binding-errors=always
|
|||
|
|
|
|||
|
|
#run.environment: dev|test|pro
|
|||
|
|
server.run.environment=dev
|
|||
|
|
|
|||
|
|
|
|||
|
|
# Syslog Server Configuration
|
|||
|
|
syslog.tcp.port=514
|
|||
|
|
syslog.udp.port=514
|
|||
|
|
syslog.max.frame.length=65536
|
|||
|
|
syslog.buffer.size=1000
|
|||
|
|
|
|||
|
|
# InfluxDB 2.7 Configuration
|
|||
|
|
influxdb.url=http://192.168.222.131:8086
|
|||
|
|
influxdb.token=3Tvu-IZWtaY03UDkbUDlufD0kxn85keo9LhYQcv2Cxk0LJmXqqHkNVrO664DbaJAYwoGI7UIg904KqZC7Q_ZFA==
|
|||
|
|
influxdb.org=yelang
|
|||
|
|
influxdb.bucket=yelangbucket
|
|||
|
|
influxdb.batch.size=1000
|
|||
|
|
influxdb.flush.interval=1000
|
|||
|
|
influxdb.retry.attempts=3
|
|||
|
|
influxdb.retry.delay=1000
|
|||
|
|
|
|||
|
|
# Application Configuration
|
|||
|
|
app.worker.threads=4
|
|||
|
|
app.max.queue.size=10000
|
|||
|
|
app.metrics.enabled=true
|
|||
|
|
|
|||
|
|
|
|||
|
|
#database Configuration
|
|||
|
|
spring.datasource.url=jdbc:postgresql://117.72.68.72:54329/ecosys
|
|||
|
|
spring.datasource.username=postgres
|
|||
|
|
spring.datasource.password=TnLanWaidYSwTSG5
|
|||
|
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
|||
|
|
|
|||
|
|
# mybatis Configuration
|
|||
|
|
mybatis.mapper-locations=classpath:mapper/*.xml
|
|||
|
|
mybatis.type-aliases-package=com.common.entity
|
|||
|
|
|
|||
|
|
#mybatis handler <20><>
|
|||
|
|
mybatis.configuration.default-statement-timeout=30
|
|||
|
|
mybatis.configuration.default-fetch-size=1000
|
|||
|
|
mybatis.configuration.map-underscore-to-camel-case=true
|
|||
|
|
mybatis.type-handlers-package=com.Modules.etl.handler
|
|||
|
|
mybatis-plus.configuration.map-underscore-to-camel-case=true
|
|||
|
|
mybatis-plus.type-handlers-package=com.Modules.etl.handler
|
|||
|
|
# kafka Configuration
|
|||
|
|
spring.kafka.consumer.bootstrap-servers=192.168.222.130:9092
|
|||
|
|
spring.kafka.consumer.group-id=test-group-app
|
|||
|
|
spring.kafka.consumer.auto-offset-reset=latest
|
|||
|
|
spring.kafka.consumer.enable-auto-commit=false
|
|||
|
|
spring.kafka.consumer.auto-commit-interval=1000
|
|||
|
|
spring.kafka.consumer.topic=test-topic
|
|||
|
|
|
|||
|
|
spring.kafka.consumer.max-poll-records=1000
|
|||
|
|
spring.kafka.consumer.properties.max.poll.interval.ms=300000
|
|||
|
|
spring.kafka.consumer.properties.session.timeout.ms=45000
|
|||
|
|
|
|||
|
|
#spring.kafka.consumer.key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
|
|||
|
|
#spring.kafka.consumer.value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
|
|||
|
|
spring.kafka.consumer.fetch-min-size= 1048576
|
|||
|
|
spring.kafka.listener.ack-mode= manual
|
|||
|
|
spring.kafka.listener.concurrency= 2
|
|||
|
|
spring.kafka.listener.type=batch
|
|||
|
|
|
|||
|
|
|
|||
|
|
# <20><>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
spring.task.scheduling.pool.size=10
|
|||
|
|
|
|||
|
|
# <20><>־<EFBFBD><D6BE><EFBFBD><EFBFBD>
|
|||
|
|
logging.level.com.common.schedule=INFO
|
|||
|
|
logging.level.com.common.service=INFO
|
|||
|
|
|
|||
|
|
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
partition.check.tomorrow.enabled=true
|
|||
|
|
partition.check.future.days=7
|
|||
|
|
partition.auto.create=true
|
|||
|
|
|
|||
|
|
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
spring.redis.host=localhost
|
|||
|
|
spring.redis.port=6379
|
|||
|
|
# <20><><EFBFBD>루<EFBFBD><EBA3A8><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>룬<EFBFBD><EBA3AC><EFBFBD><EFBFBD>ʡ<EFBFBD>ԣ<EFBFBD>
|
|||
|
|
spring.redis.password=
|
|||
|
|
spring.redis.database=0
|
|||
|
|
spring.redis.timeout=2000
|
|||
|
|
|
|||
|
|
spring.redis.lettuce.pool.max-active=8
|
|||
|
|
spring.redis.lettuce.pool.max-wait=-1
|
|||
|
|
spring.redis.lettuce.pool.max-idle=8
|
|||
|
|
spring.redis.lettuce.pool.min-idle=0
|
|||
|
|
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>϶̣<CFB6><CCA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
spring.cache.redis.time-to-live=600000
|
|||
|
|
|
|||
|
|
|
|||
|
|
# Ӧ<>ô<EFBFBD><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
app.processor.thread-pool.core-pool-size=10
|
|||
|
|
app.processor.thread-pool.max-pool-size=20
|
|||
|
|
app.processor.thread-pool.queue-capacity=2000
|
|||
|
|
app.processor.thread-pool.keep-alive-seconds=60
|
|||
|
|
app.processor.batch-size=100
|
|||
|
|
app.processor.process-timeout-ms=30000
|
|||
|
|
|
|||
|
|
|
|||
|
|
# <20><><EFBFBD><EFBFBD> Elasticsearch
|
|||
|
|
# Elasticsearch<63><68><EFBFBD>ӵ<EFBFBD>ַ
|
|||
|
|
spring.elasticsearch.uris=http://192.168.1.174:9200
|
|||
|
|
# <20><><EFBFBD><EFBFBD> Elasticsearch <20>û<EFBFBD><C3BB><EFBFBD>
|
|||
|
|
spring.elasticsearch.username=CONTAINER_NAME
|
|||
|
|
# <20><><EFBFBD><EFBFBD> Elasticsearch <20><><EFBFBD><EFBFBD>
|
|||
|
|
spring.elasticsearch.password=t2NZCiajmdazxBrF
|
|||
|
|
# <20><><EFBFBD>ӳ<EFBFBD>ʱʱ<CAB1><CAB1>
|
|||
|
|
spring.elasticsearch.connection-timeout=10s
|
|||
|
|
# Socket <20><>ʱʱ<CAB1><CAB1>
|
|||
|
|
spring.elasticsearch.socket-timeout=30s
|
|||
|
|
|
|||
|
|
|
|||
|
|
# ETL<54><4C><EFBFBD><EFBFBD>
|
|||
|
|
etl.batch.page-size=1000
|
|||
|
|
etl.batch.insert-batch-size=500
|
|||
|
|
etl.schedule.cron=0 0 2 * * ?
|