简体   繁体   English

配置spring kafka schema注册表安全

[英]Configure spring kafka schema registry security

Iam using spring kafka and avro, The schema registry is secured with plain sasl protocol.我正在使用 spring kafka 和 avro,模式注册表使用普通的 sasl 协议进行保护。

I must develop a kafka consumer and producer, i don't find a way with spring kafka to configure the security properties for schema registry.我必须开发一个 kafka 消费者和生产者,我找不到使用 spring kafka 配置模式注册表的安全属性的方法。

Does spring kafka library already integrate this configuration ? spring kafka 库是否已经集成了这个配置? I need to configure kafkastore.. In a schema registry properties file?我需要配置 kafkastore .. 在模式注册表属性文件中? I didn't find any examples with spring kafka我没有找到任何关于spring kafka的例子

there is docs like this related to your question and demo examples in github .github中有与您的问题和演示示例相关的此类文档。

note that with spring you can have common properties for kafka, just make sure to use spring kafka dependency, maybe first try to establish connection between both consumer and producer and then put sasl plain security.请注意,使用 spring 您可以拥有 kafka 的通用属性,只需确保使用 spring kafka 依赖项,也许首先尝试在消费者和生产者之间建立连接,然后将 sasl 放在普通的安全性上。

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

相关问题 在 Spring 启动应用程序中使用来自 Confluent 的模式注册表与 Avro 和 Kafka - Using Schema Registry from Confluent with Avro and Kafka in Spring Boot Applications Spring 使用模式注册表启动 kafka - 负载在消费者端不匹配 - Spring boot kafka with schema registry - payload is not matching at consumer end AVRO 生成的 pojo's + Kafka + Spring Cloud Schema Registry - AVRO Generated pojo's + Kafka + Spring Cloud Schema Registry 使用Kafka实现架构注册表时出错 - Error implementing schema registry with kafka JSON Schema + Schema registry + Kafka序列化 - JSON Schema + Schema registry + Kafka serialization Confluent Cloud Schema Registry Unauthorized错误的spring-cloud-stream-binder-kafka配置 - spring-cloud-stream-binder-kafka configuration for Confluent Cloud Schema Registry Unauthorized error Spring 使用 Glue 模式注册表反序列化 AVRO GENERIC_RECORD 启动 kafka 消费者问题 - Spring boot kafka consumer issue deserializing AVRO GENERIC_RECORD using Glue schema registry 处理模式注册表deserialiser kafka时出现异常 - Exception while processing schema registry deserialiser kafka 错误序列化 Avro 消息 - Kafka Schema Registry - Error serializing Avro message - Kafka Schema Registry 用于模式注册表和代理的 Kafka 客户端消费者配置 - Kafka Client Consumer Config for Schema Registry and Broker
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM