diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index b30d47e..1a65574 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -53,7 +53,7 @@ spring: connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 use-global-data-source-stat: true kafka: - bootstrap-servers: 192.168.0.151:9092 + bootstrap-servers: 192.168.0.103:9092 producer: # 写入失败时,重试次数。当leader节点失效,一个repli节点会替代成为leader节点,此时可能出现写入失败, # 当retris为0时,produce不会重复。retirs重发,此时repli节点完全成为leader节点,不会产生消息丢失。