赞
踩
- ./bin/kafka-storage.sh random-uuid 生成一个集群ID
-
- ./bin/kafka-storage.sh format -t <uuid> -c ./config/kraft/server.properties 把集群ID同所使用的配置文件生成/tmp/kraft-combined-logs目录
-
- ./bin/kafka-server-start.sh -daemon ./config/kraft/server.properties 启动
controller.quorum.voters=1@master:9093,2@slave1:9093,3@slave2:9093
- ############################# Server Basics #############################
-
- # The role of this server. Setting this puts us in KRaft mode
- process.roles=broker,controller
-
- # The node id associated with this instance's roles
- node.id=1
-
- # The connect string for the controller quorum
- controller.quorum.voters=1@master:9093,2@slave1:9093,3@slave2:9093
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。