Record Transcode Consume

Convert Avro records to JSON for a consumerv1.3+

Convert Avro records to JSON for the client that consumes them. The record in the backend cluster doesn’t change, so systems that read Avro directly from the cluster keep their access to the original format.

This example uses reference to look up the Avro source schema in a schema registry, computing the subject from the topic name and always using the latest version.

Prerequisites

Environment variables

  • PARENT_POLICY_ID: The UUID of the parent Schema Validation policy.

Set up the policy

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!