arupc
arupc

Reputation: 405

Backward and forward compatibility with Avro schema

We are using registryless Avro schema for Kafka message So we have our custom Avro converter Since we don’t have schema registry available

The issue is that when we upgrade the schema with new elements, the old schema is not backward or forward compatible

Upvotes: 0

Views: 2138

Answers (1)

OneCricketeer
OneCricketeer

Reputation: 191894

Kafka is an implementation detail

If the reader schema is not compatible with the writer schema, then the Avro deserialization will fail. There's nothing you can do to fix that other than use a different schema.

You now know why having a Registry that's able to perform compatibility checks before putting data into Kafka is important

Upvotes: 2

Related Questions