在Active-Passive Kafka群集体系结构中创建Kafka主题
我试图弄清楚在Active-Passive Kafka群集体系结构中创建主题的正确方法是什么。
假设我们在两个分离的可用性区域中有两个Kafka群集(主动 - 假)。 我知道,当数据从活动群集复制到被动群集时,主题镜像会发生。
问题是。当我创建一个主题时,我应该在两个群集上创建它吗? 如果不是,那么镜像制造商应该知道有效群集上是否有一个新主题并在被动群集上创建其副本。
会感谢任何澄清
I'm trying to figure out what is the proper way to create a topic in Active-Passive Kafka cluster architecture.
Let's say we have two Kafka clusters (Active-Passive) in two separated availability zone.
I understand that the topic mirroring happens when data is replicated from active to passive clusters.
The question is. When I create a topic should I create it on both clusters separately?
If not, then the Mirroring maker should know to detect if there is a new topic on the Active cluster and create its replica on the passive cluster.
Will appreciate any clarification
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
KMM2(至少)确实监视源群集中的Kafka主题。
详细介绍一下KM多久使用管理员使用找出 复制的主题是什么,以及它如何参与 9 cing他们的配置。
KMM代码非常简单,因此如果需要的话,请进行分叉并进行更改(但是很有可能您可以通过设置策略/参数来获得所需的东西)。
KMM2 (at least) does monitoring of Kafka topics in the source cluster.
In detail take a look at how often KM does use the admin to find out what are the topics to replicate and how it is involved in syncing their configuration.
KMM code is pretty straightforward, so forking and making changes if needed should not be too hard (but it is very much possible you might get what you want by setting up policies/params).