From 98a3f7cb1c7f04b9b8fe22c4453f1fb9fa80b8ce Mon Sep 17 00:00:00 2001 From: WenG <450292408@qq.com> Date: Fri, 25 Feb 2022 22:12:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=A6=E5=8F=B7=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index c33e7d9..acb0e29 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -10,10 +10,9 @@ spring: use-insecure-trust-manager: true data: mongodb: - - uri: mongodb://gateway:gateway@192.168.0.103:27017/gateway + uri: mongodb://gateway:gateway@192.168.0.151:27017/gateway kafka: - bootstrap-servers: 127.0.0.1:9092 + bootstrap-servers: 192.168.0.151:9092 producer: # 写入失败时,重试次数。当leader节点失效,一个repli节点会替代成为leader节点,此时可能出现写入失败, # 当retris为0时,produce不会重复。retirs重发,此时repli节点完全成为leader节点,不会产生消息丢失。