From 49cbe7a9ff1cdffde9c1e39d3eb00fc6f556eee8 Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Sun, 12 Dec 2021 23:07:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E4=B8=8E?= =?UTF-8?q?=E4=BE=9D=E8=B5=96?= 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, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 8aa1330..c33e7d9 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -10,9 +10,10 @@ spring: use-insecure-trust-manager: true data: mongodb: - uri: mongodb://192.168.0.151:27017/gateway + + uri: mongodb://gateway:gateway@192.168.0.103:27017/gateway kafka: - bootstrap-servers: 192.168.0.151:9092 + bootstrap-servers: 127.0.0.1:9092 producer: # 写入失败时,重试次数。当leader节点失效,一个repli节点会替代成为leader节点,此时可能出现写入失败, # 当retris为0时,produce不会重复。retirs重发,此时repli节点完全成为leader节点,不会产生消息丢失。