Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Types mapping

Types described in the Avro specification have to be mapped to types present in the MediationZone platform.

You can find the mapping in the table below:

Avro type

Corresponding MZ type

null

null

boolean

boolean

int

int*

long

long*

float

float*

double

double*

string

string

record

AvroRecordUDR

enum

AvroEnumUDR

fixed

AvroFixedUDR

...

Note

Numeric types needs casting while preparing data for encoding.

...

See Avro Decoder

...

Example example to see the usage.

UDRs

The following UDRs should be used while working with Avro Decoder/Encoder

...