Adapter can't handle schema registry with relative path
Closed this issue · 0 comments
PHameete commented
For example if the SR runs at http://localhost/sr/ the adapter is able to resolve the schema registry so startup will continue.
However, when publishing schemas (schema-publisher.ts:88)
const uri = url.resolve(this.schemaRegistryUrl, ='/subjects/${schemaTopic}/versions');
url.resolve will strip off the relative path, replacing /sr/ with /subjects/ instead of appending to the path.
This also happens 4 times in schema-registry.ts!