admin管理员组文章数量:1431456
We want to configure a Proxy only for the Schema Registry. That means the Proxy muss not be used by the Broker connection.
I'm trying to follow the configuration options for the Schema Registry added in this pull request: , a few years ago, following this stackoverflow link: How can I tell KafkaAvroSerializer that the connection to the Schema Registry must be through a proxy?
I'm also following the documentation for Schema Registry properties given here: .html
I added the configuration in the Kafka Configuration Class: props.put("proxy.url", "xxxx") where xxxx is the URL for the proxy. Something similar for the port.
After, of course, come the producer factory configuration and the Kafka Template.
However, the configurations are not taken when the Schema Regestry is contacted. The connection goes as the proxy doesn't exist.
Can somebody help?
We want to configure a Proxy only for the Schema Registry. That means the Proxy muss not be used by the Broker connection.
I'm trying to follow the configuration options for the Schema Registry added in this pull request: https://github/confluentinc/schema-registry/pull/1144, a few years ago, following this stackoverflow link: How can I tell KafkaAvroSerializer that the connection to the Schema Registry must be through a proxy?
I'm also following the documentation for Schema Registry properties given here: https://docs.confluent.io/platform/current/schema-registry/installation/config.html
I added the configuration in the Kafka Configuration Class: props.put("proxy.url", "xxxx") where xxxx is the URL for the proxy. Something similar for the port.
After, of course, come the producer factory configuration and the Kafka Template.
However, the configurations are not taken when the Schema Regestry is contacted. The connection goes as the proxy doesn't exist.
Can somebody help?
Share Improve this question edited Nov 30, 2024 at 4:16 OneCricketeer 192k20 gold badges143 silver badges268 bronze badges asked Nov 19, 2024 at 10:46 Nestor TorresNestor Torres 12 bronze badges 1- I found the solution. I was using proxy.url instead of proxy.host, that is the right configuration property – Nestor Torres Commented Dec 2, 2024 at 10:40
1 Answer
Reset to default 0The problem was using the wrong property. The right property is proxy.host instead of proxy.url.
本文标签: apache kafkaSetting Schema Registry Proxy URL and PortStack Overflow
版权声明:本文标题:apache kafka - Setting Schema Registry Proxy URL and Port - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745567697a2663860.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论