navdeepsekhon/kafkaer

Support to delete schema from a schema registry when deleting topics

Closed this issue · 0 comments

Add support to delete schema from a schema registry when the corresponding topic is deleted

Assumptions:
The schema registry supports following two endpoints
To get list of all the current schemas:

GET /subjects HTTP/1.1
Host: schemaregistry.example.com
Accept: application/vnd.schemaregistry.v1+json, application/vnd.schemaregistry+json, application/json

To delete a schema:

DELETE /subjects/test HTTP/1.1
Host: schemaregistry.example.com
Accept: application/vnd.schemaregistry.v1+json, application/vnd.schemaregistry+json, application/json

https://docs.confluent.io/current/schema-registry/develop/api.html