Skip to content

Commit 0c95ba6

Browse files
committed
更新
1 parent cdc0479 commit 0c95ba6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

14.Message Queue.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,12 @@ kafka保证消息可靠性,可以通过如下几个配置:
7070
2. RoundRobinAssignor 轮询分配策略
7171
3. StickyAssignor 能够使分区的分配尽可能与上一次保持一致,避免过度重分配
7272
4. 自定义分配,实现PartitionAssignor接口
73+
74+
75+
76+
#### kafka 集群如何搭建
77+
78+
- 安装zk集群,修改各个节点的kafka配置文件server.properties(broker.id、listeners、zookeeper.connect)
79+
- 启动zk、启动kafka
80+
81+
k8s 上创建:[K8s - 安装部署Kafka、Zookeeper集群教程(支持从K8s外部访问) - 蜂蜜log - 博客园 (cnblogs.com)](https://www.cnblogs.com/fengyuanfei/p/17789107.html)

0 commit comments

Comments
 (0)