简体   繁体   English

是否有任何选项可以在 Debezium 中设置自定义复制因子

[英]Is there any option to set the custom replication factor in Debezium

I want to use a custom replication factor in all my topics while creation.我想在创建时在所有主题中使用自定义复制因子。 Im running 7 node cluster and I want to set 5 as the replication factor for all of my topics.我正在运行 7 节点集群,我想将 5 设置为我所有主题的复制因子。

Kafka Connect connectors cannot create their own topics with custom settings. Kafka Connect 连接器无法使用自定义设置创建自己的主题。 This is something that's slated for improvement with KIP-158 .这是KIP-158计划改进的地方。

As things currently (Apache Kafka 2.4) stand, connectors can only rely on the broker creating them automatically (if auto.create.topics.enable=true ) with the default replication factor etc, or you can pre-create them and at that point set the required replication factor.就目前的情况(Apache Kafka 2.4)而言,连接器只能依赖代理使用默认复制因子等自动创建它们(如果auto.create.topics.enable=true ),或者您可以预先创建它们,然后设置所需的复制因子。

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

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