Frends.Avro.Deserialize / 3.1.0
Summary
Reads an Avro file and turns its records into a JSON array, one object per record, so the data becomes something the rest of a Process can navigate.
Typical use — unpacking Avro that arrived from a data platform into a form the JSON and mapping Tasks understand
Input parameters for Avro deserialization operation.
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| DataSource | DataSource |
FilePath |
DataSource.FilePath |
Defines whether the Avro data is read from a file (FilePath) or provided directly as a byte array (FileBytes). Possible values:
|
| FilePath | String |
– | C:\results\myfile.avro |
Gets or sets the path to the Avro file you want to deserialize. The file can be an Avro object container file, or raw Avro binary data when SchemaJson is provided. |
| FileBytes | Byte[] |
– | #var.avroBytes |
Gets or sets the Avro data as a byte array. The data can be an Avro object container file content, or raw Avro binary data when SchemaJson is provided. |
| SchemaJson | String |
– | {"type":"record","name":"Event","fields":[]} |
Gets or sets the Avro schema JSON. This is required for raw Avro binary data and optional as a reader schema for Avro object container files. |