gpt4 book ai didi

ssl - Kafka 架构注册表 - StoreInitializationException : Timed out trying to create or validate schema topic configuration

转载 作者:行者123 更新时间:2023-12-04 22:41:21 27 4
gpt4 key购买 nike

我正在尝试配置模式注册表以使用 SSL,我已经让 zookeeper 和 kafka 代理使用相同的 SSL key 。
但是每当我启动架构注册表时,我都会收到以下错误

ERROR Error starting the schema registry(io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication) 
io.confluent.kafka.schemaregistry.exceptions.SchemaRegistryInitializationException: Error initializing kafka store while initializing schema registry
Caused by: io.confluent.kafka.schemaregistry.storage.exceptions.StoreInitializationException: Timed out trying to create or validate schema topic configuration
schema-registry.properties配置 :
listeners=https://IP:8081
kafkastore.connection.url=IP:2181
kafkastore.bootstrap.servers=SSL://IP:9092
kafkastore.topic=_schemas
kafkastore.topic.replication.factor=1
kafkastore.security.protocol=SSL
ssl.truststore.location=/.kafka_ssl/kafka.server.truststore.jks
ssl.truststore.password=password
ssl.keystore.location=/.kafka_ssl/kafka.server.keystore.jks
ssl.keystore.password=password
ssl.key.password=password
ssl.endpoint.identification.algorithm=
inter.instance.protocol=https

有人可以建议吗?

最佳答案

有几个原因可能会导致此问题。尝试为 kafkastore.topic 使用不同的主题万一_schemas被破坏了。

例如,

kafkastore.topic=_schemas_new

关于ssl - Kafka 架构注册表 - StoreInitializationException : Timed out trying to create or validate schema topic configuration,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61043647/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com