ccloud-schema-exporter
ccloud-schema-exporter copied to clipboard
Add support for Schema Contexts
The tool should support contexts for all capabilities.
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.