Closed finncolman closed 3 years ago
The confluent schema registry API has this endpoint: POST /subjects/(string: subject)
POST /subjects/(string: subject)
https://docs.confluent.io/platform/current/schema-registry/develop/api.html#post--subjects-(string-%20subject) This is to check if a schema has already been registered under a specific subject. This method is important because it is the schema lookup method that the serialiser is supposed to use if both "auto.register.schemas" and "use.latest.version" are set to false.
I also added test cases.
Thanks, if you could just update the code according to my comment then I'll merge.
@finncolman thank you for your contribution.
The confluent schema registry API has this endpoint:
POST /subjects/(string: subject)
https://docs.confluent.io/platform/current/schema-registry/develop/api.html#post--subjects-(string-%20subject) This is to check if a schema has already been registered under a specific subject. This method is important because it is the schema lookup method that the serialiser is supposed to use if both "auto.register.schemas" and "use.latest.version" are set to false.
I also added test cases.