如何加载余额卡夫卡?
谁能帮助我在卡夫卡(Kafka)的负载平衡?要实施什么逻辑?我认为部署多经纪人多节点KAFKA可以解决问题吗?而且,如果有人可以指导我增加分区的增加可能会影响卡夫卡的负载平衡和吞吐量吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
谁能帮助我在卡夫卡(Kafka)的负载平衡?要实施什么逻辑?我认为部署多经纪人多节点KAFKA可以解决问题吗?而且,如果有人可以指导我增加分区的增加可能会影响卡夫卡的负载平衡和吞吐量吗?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
如果您是指扩展Kafka群集,那么您需要做的最低限度是:
在此处描述的 : https://kafka.apache.org/documentation/#basic_ops_cluster_cluster_expansion
一旦将分区转移到新节点后,消费者和生产商将自动重新平衡使用新节点。
要了解消费者和生产商如何通过分区数量进行扩展,我建议阅读Kafka关键概念:
If you mean scaling a Kafka cluster, the bare minimum you need to do is:
It is described in here: https://kafka.apache.org/documentation/#basic_ops_cluster_expansion
Consumers and producers will automatically rebalance to use the new nodes once their partitions have been moved to the new nodes.
To understand how consumers and producers scale with the number of partitions I recommend reading Kafka key concepts: https://kafka.apache.org/documentation/#intro_concepts_and_terms