FTL Native Messages to Avro Translation Reference

This section details the translation between FTL messages and Avro messages.

Numbers

The FTL bridge connectors can use this translation scheme in both directions.

FTL messages treat all integer values as long integers (64 bits), and all floating point values as double-precision IEEE-compliant representation. The translation from Avro to FTL casts numeric values accordingly. The translation from FTL to Avro does not attempt to use smaller types, regardless of the actual value or precision of the FTL-based representations.

Inbox

FTL inbox fields are not supported outside of FTL. The translation from FTL to Avro discards any inbox fields.

Message Arrays

FTL supports arrays of messages, but Avro does not. The translation from FTL to Avro discards any message array fields.

If supporting message arrays is required, the JSON string converter can support arrays of messages when schemas are not enabled.