schema-registry-transfer-smt
schema-registry-transfer-smt copied to clipboard
Mm2 updates
Fixes OneCricketeer/schema-registry-transfer-smt#25
Thank you!
Overall makes sense. Few comments.
Otherwise, I'm not sure I understand why it was ultimately needed... MM2 should work on its own since this SMT doesn't package anything but Avro and the Registry client, which the HTTP client hasn't changed that much, and it's shaded here too
Updated PR according to comments here
Version bumped to v.0.2.1
Given that this PR has been approved, can @OneCricketeer please merge it and build new 0.2.1 version?
are you going to merge that?
Hi all, I no longer use Kafka for my role, nor this SMT, so am not actively looking at maintaining it.
That being said, Confluent has documentation about migrating schemas, and I am curious if anyone has tried those methods and has feedback on how they differ from this repo?
Hi all, I no longer use Kafka for my role, nor this SMT, so am not actively looking at maintaining it.
That being said, Confluent has documentation about migrating schemas, and I am curious if anyone has tried those methods and has feedback on how they differ from this repo?
The approach listed here involves setting the schema registry into a special mode where you can specify the id of the schema when you load it. This does work and you can use mirror maker without this SMT and then some other program to simply push the existing schema and id's in
Limitations
- only works if the target schema registry does not contain any of the id's in your source schema registry
- other schema registries don't support this
importmode such as apicurio though you presumably could use their backup and restore process - still requires something to clone the schema registry - may even need a smt if your using mm with an evolving schema
I like your approach and think it's odd that it's not part of mirror maker
Limitations of this approach
- the magic byte isn't always a guarentee that a binary topic is avro such as the internal ksql or __consumer_offsets
my quick fix is to add an ignore list: https://github.com/iturcino/schema-registry-transfer-smt/pull/2
I'm tempted to think it would be better for my use case if it simply ignored the not found or bad magic number
anyone can review and merge it?