ccloud-schema-exporter icon indicating copy to clipboard operation
ccloud-schema-exporter copied to clipboard

Add support for Schema Contexts

Open abraham-leal opened this issue 1 year ago • 1 comments

The tool should support contexts for all capabilities.

abraham-leal avatar Jun 22 '23 17:06 abraham-leal

Hi @abraham-leal, you may use contexts adding the SR URL with the context "embeded" (like https://<SR>.confluent.cloud/contexts/.mycontext), the problem is the GetSubjectsWithVersions will store the destination subjects with :.mycontext:subject and this will make the DeepEqual method inside the Sync to never find the subjects.

A quick fix is to remove the context when creating the map under GetSubjectsWithVersions.

tomasalmeida avatar Aug 30 '24 09:08 tomasalmeida