-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default value for schema.repository.deleteSchemaPathSuffix is problematic #1569
Labels
Comments
Hey, I would like to tackle this issue on Hacktoberfest :) |
Hi, nice to hear that! Assigned 😄 |
adriansobolewski
added a commit
to adriansobolewski/hermes
that referenced
this issue
Oct 18, 2023
…aPathSuffix to empty string. This has been done to make requests to default Confluent schema registry match its delete url.
adriansobolewski
added a commit
to adriansobolewski/hermes
that referenced
this issue
Oct 18, 2023
…aPathSuffix to empty string. This has been done to make requests to default Confluent schema registry match its delete url.
adriansobolewski
added a commit
to adriansobolewski/hermes
that referenced
this issue
Oct 18, 2023
…des methods to read and modify the schema. Modified RawSchemaClient to provide only read methods.
adriansobolewski
added a commit
to adriansobolewski/hermes
that referenced
this issue
Oct 18, 2023
…aPathSuffix to empty string. This has been done to make requests to default Confluent schema registry match its delete url.
adriansobolewski
added a commit
to adriansobolewski/hermes
that referenced
this issue
Oct 18, 2023
…des methods to read and modify the schema. Modified RawSchemaClient to provide only read methods.
adriansobolewski
added a commit
to adriansobolewski/hermes
that referenced
this issue
Oct 18, 2023
adriansobolewski
added a commit
to adriansobolewski/hermes
that referenced
this issue
Oct 18, 2023
adriansobolewski
added a commit
to adriansobolewski/hermes
that referenced
this issue
Oct 18, 2023
adriansobolewski
added a commit
to adriansobolewski/hermes
that referenced
this issue
Oct 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Default value for
schema.repository.deleteSchemaPathSuffix
isversions
. This is problematic when you use Confluent's Schema Registry. Path that is built for removing a subject is not compliant with Schema Registry's API:There are two issues:
According to Confluent's docs you can delete subjects only with two allowed paths:
I think it would be great to set
schema.repository.deleteSchemaPathSuffix
's default value to empty string. This way default Hermes Management configuration would comply to Confluent's Schema Registry API.Additional minor issue is that on Hermes' documentation page default value for this property is not properly formatted. It renders in wrong column.
Steps to reproduce
Download hermes project and enable topic deletion with schema deletion for Hermes management in docker-compose.yml:
Use
docker-compose up
.Open Hermes console and add new group
pierwsza
and new topictestowy
with any AVRO schemaTry do delete a topic - this gives an error:
How to fix
Set
schema.repository.deleteSchemaPathSuffix
to empty:Recommended change
Change
schema.repository.deleteSchemaPathSuffix
default value to''
.The text was updated successfully, but these errors were encountered: