简体   繁体   English

Kafka Connect Mongodb 源连接器的高可用性配置

[英]High availability configuration for Kafka Connect Mongodb source connector

I've been looking for specific information about high availability deployments of Kafka Connect connectors but found nothing.我一直在寻找有关 Kafka Connect 连接器的高可用性部署的具体信息,但一无所获。

In my case I have a Mongodb source connector deployed using the Confluent Helm chart .在我的例子中,我使用Confluent Helm chart部署了一个 Mongodb 源连接器。 This chart supports setting the number of replicas.此图表支持设置副本数。

Is setting replicaCount to a value >1 enough or there are other factors to consider ( tasks.max , ...)?replicaCount设置为大于1 的值是否足够或还有其他因素需要考虑( tasks.max ,...)?

If you want highly available workers, then it's pod replicas, yes.如果您想要高可用的工作人员,那么它就是 pod 副本,是的。

If you want distributed tasks across workers, that's tasks.max ;如果你想在工作人员之间分配任务,那就是tasks.max if one worker dies, then tasks get rebalanced如果一名工人死亡,那么任务就会重新平衡

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM