如何启用Confluent.Value.schema.CP-Helm-charts的验证

发布于 2025-01-31 21:42:28 字数 718 浏览 4 评论 0原文

我正在使用掌舵使用 cp-helm-charts

我已经启用了Zookeeper,Zookeeper, Kafka,架构注册表和控制中心组件。在Control Center UI中,我能够创建一个主题并为该主题设置模式。但是,未启用模式验证,并且仍然可以将任意文本写入主题。

我正在尝试以在此处描述 通过将这些选项添加到我的掌舵价值中:

cp-control-center:
  configurationOverrides:
    "confluent.schema.registry.url": http://data-cp-schema-registry:8081
    "confluent.value.schema.validation": true

但没有效果。

问题: 如何对CP-HELM-CHARTS KAFKA启用模式验证? 这个想法是限制所有与指定模式不匹配的内容。

I am using helm to deploy kafka using cp-helm-charts

I have enabled zookeeper, kafka, schema registry and control center components. In control center UI I am able to create a topic and set a schema for the topic. However schema validation is not enabled and it is still possible to write arbitrary text to the topic.

I am trying to enable schema validation as described here
by adding these options to my helm values:

cp-control-center:
  configurationOverrides:
    "confluent.schema.registry.url": http://data-cp-schema-registry:8081
    "confluent.value.schema.validation": true

But it has no effect.

QUESTION:
How to enable schema validation for cp-helm-charts kafka?
The idea is to restrict all the contents that does not match specified schema.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

¢蛋碎的人ぎ生 2025-02-07 21:42:28

架构验证仅适用于Confluent Server(经纪人)或主题,而不是控制中心容器,因此您需要将覆盖的转移到Kafka配置(并使用cp-server 图像)

值得一提的是,这是Confluent Enterprise的付费功能。

Schema validation is only applicable to Confluent Server (the broker), or the topics, not Control Center container, so you'll need to move that override to the kafka configuration instead (and verify it's using the cp-server image)

It's worth mentioning that that's a paid feature of Confluent Enterprise.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文