Merge pull request 'writer layer 新增 redis 的配置' (#73) from baladiwei/gitlink-notification-system:master into master

This commit is contained in:
baladiwei 2021-09-15 10:50:49 +08:00
commit 9cb5f0fe30
1 changed files with 12 additions and 2 deletions

View File

@ -11,12 +11,22 @@ spring:
client_id: gitlink_producer_01
retries: 5
batch_size: 16384
# 副本数
replication_factor: 1
# 分区数
partitions: 3
topic: topic-gitlink-notification
redis:
database: 0
host: redis
port: 6379
password:
pool:
max-active: 200
max-wait: -1
max-idle: 10
min-idle: 0
timeout: 1000
datasource:
# 配置数据源类型