58 lines
1.5 KiB
Properties
58 lines
1.5 KiB
Properties
#Server Configuration
|
|
server.port=8189
|
|
server.servlet.context-path=/syslogserve
|
|
#server.address=0.0.0.0
|
|
server.tomcat.uri-encoding=UTF-8
|
|
server.error.include-message=always
|
|
server.error.include-binding-errors=always
|
|
|
|
# Syslog Server Configuration
|
|
syslog.tcp.port=514
|
|
syslog.udp.port=514
|
|
syslog.max.frame.length=262144
|
|
syslog.buffer.size=1000
|
|
|
|
|
|
# APP Service Configuration
|
|
app.service.device_id=1
|
|
app.service.device_name=honeypot
|
|
app.service.vendor=changting
|
|
app.service.product_name=diting
|
|
#采集探针ID
|
|
app.service.device_collect_id=${DEVICE_COLLECT_ID:1}
|
|
# syslog message data_type
|
|
app.service.data_type=json
|
|
|
|
# kafka Configuration
|
|
spring.kafka.producer.bootstrap-servers=192.168.222.130:9092
|
|
spring.kafka.producer.topic =test-topic
|
|
|
|
|
|
#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.configuration.map-underscore-to-camel-case=true
|
|
|
|
# 开发环境缓存配置
|
|
spring.redis.host=localhost
|
|
spring.redis.port=6379
|
|
# 密码(如果没有设置密码,可以省略)
|
|
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
|
|
# 开发环境缓存时间较短,方便调试
|
|
spring.cache.redis.time-to-live=600000
|
|
|
|
|