zoe icon indicating copy to clipboard operation
zoe copied to clipboard

[Feature request] More complete Schema Registry support with the ability to migrate schemas between clusters

Open whatsupbros opened this issue 2 years ago • 0 comments

Hello! Thanks for this wonderful command line tool for Kafka first of all! I already find it very useful, and much better than the standard CLI tools out there.

What could be improved though, is the support of Schema Registry. Currently, it is only possible to:

  • List schemas
  • Describe a schema (returns subject name, list of versions and the latest schema)
  • Deploy a schema

However, the Schema Registry REST API allows much more:

  • Retrieve a schema with a given ID
  • Retrieve a schema for a given subject of a given version (with and without metadata)
  • Retrieve a schema for a given subject of the latest version (with and without metadata)
  • Delete schema for a given subject of a given version (soft and hard)
  • Delete a subject completely (soft and hard)

This would be very useful, if zoe supported all those operations. Because currently, you have to pair it with postman or curl which have completely different interfaces, to be able to execute those operations, when needed.

Another really common use-case is subject migrations between different clusters. Subject migration means copying schemas of all versions for a subject from a source cluster to the destination cluster. This operation is required, when one prepares for some topic migration between the same clusters.

It would be really useful, if it was possible to unload all subject schemas at once, and then feed another zoe instance with this output, so all the given schemas are published to a given destination cluster.

whatsupbros avatar May 18 '22 10:05 whatsupbros