RecordSchemaCacheService
Implementation: VolatileSchemaCache
Specifies a Schema Cache to add the Record Schema to so that Record Readers can quickly lookup the schema. | Schema Protocol Version | schema-protocol-version | 1 | | The protocol version to be used for Schema Write Strategies that require a protocol version, such as Hortonworks Schema Registry strategies. Valid protocol versions for Hortonworks Schema Registry are integer values 1, 2, or 3. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
This Property is only considered if the [Schema Write Strategy] Property is set to one of the following values: [HWX Schema Reference Attributes], [HWX Content-Encoded Schema Reference] |
Schema Access Strategy | schema-access-strategy | Inherit Record Schema | - Inherit Record Schema
- Use 'Schema Name' Property
- Use 'Schema Text' Property
| Specifies how to obtain the schema that is to be used for interpreting the data. |
Schema Registry | schema-registry | | Controller Service API: SchemaRegistry Implementations: DatabaseTableSchemaRegistry HortonworksSchemaRegistry ConfluentSchemaRegistry AvroSchemaRegistry AmazonGlueSchemaRegistry | Specifies the Controller Service to use for the Schema Registry
This Property is only considered if the [Schema Access Strategy] Property is set to one of the following values: [Use 'Schema Name' Property] |
Schema Name | schema-name | ${schema.name} | | Specifies the name of the schema to lookup in the Schema Registry property Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
This Property is only considered if the [Schema Access Strategy] Property has a value of "Use 'Schema Name' Property". |
Schema Version | schema-version | | | Specifies the version of the schema to lookup in the Schema Registry. If not specified then the latest version of the schema will be retrieved. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
This Property is only considered if the [Schema Access Strategy] Property has a value of "Use 'Schema Name' Property". |
Schema Branch | schema-branch | | | Specifies the name of the branch to use when looking up the schema in the Schema Registry property. If the chosen Schema Registry does not support branching, this value will be ignored. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
This Property is only considered if the [Schema Access Strategy] Property has a value of "Use 'Schema Name' Property". |
Schema Text | schema-text | ${avro.schema} | | The text of an Avro-formatted Schema Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
This Property is only considered if the [Schema Access Strategy] Property has a value of "Use 'Schema Text' Property". |
Cache Size | cache-size | 1000 | | Specifies how many Schemas should be cached |
Compression Type | compression-type | UNCOMPRESSED | - UNCOMPRESSED
- SNAPPY
- GZIP
- LZO
- BROTLI
- LZ4
- ZSTD
- LZ4_RAW
| The type of compression for the file being written. |
Row Group Size | row-group-size | | | The row group size used by the Parquet writer. The value is specified in the format of <Data Size> <Data Unit> where Data Unit is one of B, KB, MB, GB, TB. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Page Size | page-size | | | The page size used by the Parquet writer. The value is specified in the format of <Data Size> <Data Unit> where Data Unit is one of B, KB, MB, GB, TB. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Dictionary Page Size | dictionary-page-size | | | The dictionary page size used by the Parquet writer. The value is specified in the format of <Data Size> <Data Unit> where Data Unit is one of B, KB, MB, GB, TB. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Max Padding Size | max-padding-size | | | The maximum amount of padding that will be used to align row groups with blocks in the underlying filesystem. If the underlying filesystem is not a block filesystem like HDFS, this has no effect. The value is specified in the format of <Data Size> <Data Unit> where Data Unit is one of B, KB, MB, GB, TB. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Enable Dictionary Encoding | enable-dictionary-encoding | | | Specifies whether dictionary encoding should be enabled for the Parquet writer |
Enable Validation | enable-validation | | | Specifies whether validation should be enabled for the Parquet writer |
Writer Version | writer-version | | | Specifies the version used by Parquet writer |
Avro Write Old List Structure | avro-write-old-list-structure | true | | Specifies the value for 'parquet.avro.write-old-list-structure' in the underlying Parquet library |
Avro Add List Element Records | avro-add-list-element-records | true | | Specifies the value for 'parquet.avro.add-list-element-records' in the underlying Parquet library |
INT96 Fields | int96-fields | | | List of fields with full path that should be treated as INT96 timestamps. |
State management:
This component does not store state.Restricted:
This component is not restricted.System Resource Considerations:
None specified.