dasch / avro_turf

A library that makes it easier to use the Avro serialization format from Ruby.
MIT License
167 stars 80 forks source link

Add ConfluentSchemaRegistry#compatibility_issues for debugging breaking changes #212

Closed catkins closed 2 weeks ago

catkins commented 2 weeks ago

I've been using AvroTurf in CI to fail the build on incompatible changes. The Confluent Schema Registry support a verbose output for the compatibility API, so it would be excellent to be able to include that in my build failures.

verbose (boolean) – Add ?verbose=true at the end of this request to output the reason a schema fails the compatibility test, in cases where it fails. The default is false (the reason a schema fails compatibility test is not given).

https://docs.confluent.io/platform/current/schema-registry/develop/api.html#sr-api-compatibility

catkins commented 2 weeks ago

Oh good call! I'll pop one in later on.

catkins commented 2 weeks ago

Excellent, thanks @dasch! 👏