We're sorry but rendepage doesn't work properly without JavaScript enabled. Please enable it to continue.
web
|
Java
Kafka的分区分配策略
千锋教育
1)random(随机):随机分配数据,会导致数据倾斜
2)RoundRobin(轮询):将Topic中的每个分区以轮询的方式发送给消费者线程进行消费
3)指定分区