The Record Transcode Produce policy converts an already schema-validated record value into a different serialization format before Event Gateway produces it to the backend cluster. It runs on a record that was already parsed by a Schema Validation Produce 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 before Event Gateway writes it to the backend cluster. This change is irreversible, because the cluster never receives the record in its original format. To convert the format of a record only for the client that reads it, and keep the stored record unchanged, use the Record Transcode Consume policy instead.