Integration


Validate Avro schemas and messages

Usage scenario

  • Actor: A software architect or developer designing and validating integration cases involving Avro serialization
  • Context: Designing binary data exchange between systems utilizing Apache Kafka topics
  • Goal: Ensure compatibility of Avro schema definitions and message formats with topic assignments

Applications using Avro serialization depend on schemas and expect changes made to schemas to be compatible with previous versions. Avro Schema Registry provides compatibility checks at runtime, enabling Kafka producer to throw an exception when compatibility is broken. When designing an application, or making changes to the data contract, developer needs a way to quickly validate the changes or test several scenarios against running application.

Kafka Magic provides convenient script editor and JavaScript engine allowing quick tests of different schema versions and message types.

See details in Query Topics and Automation sections.

Kafka Magic: Read Avro schema using JavaScript