Apache kafka 使用kafka配置架构注册表时获取侦听器错误

Apache kafka 使用kafka配置架构注册表时获取侦听器错误,apache-kafka,confluent-schema-registry,Apache Kafka,Confluent Schema Registry,我正在尝试使用SSL身份验证运行模式注册表服务器,但在启动服务器时 ./schema-registry-start ../etc/schema-registry/schema-registry.properties 我不断得到: [2019-11-29 15:20:13,778] ERROR Error starting the schema registry (io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplicat

我正在尝试使用SSL身份验证运行模式注册表服务器,但在启动服务器时

./schema-registry-start ../etc/schema-registry/schema-registry.properties 
我不断得到:

[2019-11-29 15:20:13,778] ERROR Error starting the schema registry (io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication:67)
io.confluent.kafka.schemaregistry.exceptions.SchemaRegistryException:  No listener configured with requested scheme SSL
io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.getSchemeAndPortForIdentity(KafkaSchemaRegistry.java:210)
但我有监听器,代理所有配置

kafkastore.bootstrap.servers=SSL://<my-brokers>
security.protocol=SSL
ssl.truststore.location=/home/ec2-user/kafka.client.truststore.jks
ssl.keystore.location=/home/ec2-user/kafka.client.keystore.jks
ssl.keystore.password=my-pass
ssl.key.password=my-key
listeners=https://0.0.0.0:443
ssl.enabled.protocols=TLSv1.2
ssl.client.auth=fals
schema.registry.inter.instance.protocol=SSL
schema.registry.url=https://<IP>:443
kafkastore.bootstrap.servers=SSL://
security.protocol=SSL
ssl.truststore.location=/home/ec2 user/kafka.client.truststore.jks
ssl.keystore.location=/home/ec2 user/kafka.client.keystore.jks
ssl.keystore.password=我的通行证
ssl.key.password=我的密钥
听众=https://0.0.0.0:443
ssl.enabled.protocols=TLSv1.2
ssl.client.auth=fals
schema.registry.inter.instance.protocol=SSL
schema.registry.url=https://:443

您需要验证代理的侦听器

然后,安全协议本身无效,加上注册表的实例间协议应该是https,而不是SSL

另外,您在ssl.client.auth=false上有一个输入错误,
schema.registry.url
只是一个客户端设置,而不是服务器上的设置