schema-registry
schema-registry copied to clipboard
Multiple schema registry url's not working
Hello team,
I'm facing a problem with the kafka-schema-registry-maven-plugin configuration in pom.xml. I want to use the execution "set-compatibility" with three schema registry url's. My configuration of schema registry url's is:
<schemaRegistryUrls>
<param>https://url1/</param>
<param>https://url2/</param>
<param>https://url3/</param>
</schemaRegistryUrls>
When i execute this, the plugin only sets compatibility on one of this three stages. It's pretty random.
I'm using version 7.4.0.
Thank you for your help.
Last I checked, the plugin is meant to be used with one schema registry address (i.e. a cluster of registries), not distinct installations.
If you want to hit distinct servers, using separate Maven Profiles with a property for each url may work.
Any news on this topic?
Facing the same problem at the moment. Especially because the parameter is named schemaRegistryUrl**s**
, which implies the feature to use multiple param
entries.
To use different profiles is not an option as we need to create a single jar with the generated content for all given schemaRegistryUrls.