The Record Transcode Consume policy converts an already schema-validated record value into a different serialization format before Event Gateway returns it to the consumer. It runs on a record that was parsed by a Schema Validation Consume policy, so you must nest it under that policy.
This policy supports converting between JSON and Avro.
Use this policy to change the format of a record only for the client that reads it. The record in the backend cluster doesn’t change, so systems that are permitted to see the original format keep their access to it. To convert the format of a record before Event Gateway writes it to the backend cluster, use the Record Transcode Produce policy instead.