简体   繁体   中英

Configure spring kafka schema registry security

Iam using spring kafka and avro, The schema registry is secured with plain sasl protocol.

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.

Does spring kafka library already integrate this configuration ? I need to configure kafkastore.. In a schema registry properties file? I didn't find any examples with spring kafka

there is docs like this related to your question and demo examples in 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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