mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-02 02:34:26 +00:00
update 优化 kafka 自动创建 topic 部分人副本数不够报错问题
This commit is contained in:
@@ -33,8 +33,12 @@ spring:
|
||||
streams:
|
||||
properties:
|
||||
application.id: kafka-streams-id # 应用ID
|
||||
# 以下配置均应该在 kafka 配置文件内编写 写到此处是为了方便调试
|
||||
properties:
|
||||
auto.create.topics.enable: true # 开启自动创建话题功能,默认是false,根据需要设置
|
||||
# 开启自动创建话题功能,默认是false,根据需要设置
|
||||
auto.create.topics.enable: true
|
||||
# 默认副本数 1 避免单机使用无法创建 topic
|
||||
default.replication.factor: 1
|
||||
|
||||
--- # rocketmq 配置
|
||||
rocketmq:
|
||||
|
Reference in New Issue
Block a user