From 9df00ae345e64b6ab6b459ecb5ce6d29664faaab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8B=89=E8=BF=AA=E7=BB=B4?= Date: Wed, 15 Sep 2021 10:50:06 +0800 Subject: [PATCH] =?UTF-8?q?writer=20layer=20=E6=96=B0=E5=A2=9E=20redis=20?= =?UTF-8?q?=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- writer/src/main/resources/application.yml.example | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/writer/src/main/resources/application.yml.example b/writer/src/main/resources/application.yml.example index 47a7dbc..5009c43 100644 --- a/writer/src/main/resources/application.yml.example +++ b/writer/src/main/resources/application.yml.example @@ -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: # 配置数据源类型