如何启用Confluent.Value.schema.CP-Helm-charts的验证
我正在使用掌舵使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
架构验证仅适用于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.