Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)Get CSV Header Definition From Data | Get CSV Header Definition From Data | true | | This property only applies to CSV content type. If "true" the processor will attempt to read the CSV header definition from the first line of the input data. |
CSV Header Line Skip Count | CSV Header Line Skip Count | 0 | | This property only applies to CSV content type. Specifies the number of lines that should be skipped when reading the CSV data. Setting this value to 0 is equivalent to saying "the entire contents of the file should be read". If the property "Get CSV Header Definition From Data" is set then the first line of the CSV file will be read in and treated as the CSV header definition. Since this will remove the header line from the data care should be taken to make sure the value of "CSV header Line Skip Count" is set to 0 to ensure no data is skipped. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
CSV delimiter | CSV delimiter | , | | Delimiter character for CSV records Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
CSV Escape String | CSV Escape String | \ | | This property only applies to CSV content type. String that represents an escape sequence in the CSV FlowFile content data. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
CSV Quote String | CSV Quote String | ' | | This property only applies to CSV content type. String that represents a literal quote character in the CSV FlowFile content data. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Pretty Avro Output | Pretty Avro Output | true | | If true the Avro output will be formatted. |
Avro Record Name | Avro Record Name | | | Value to be placed in the Avro record schema "name" field. The value must adhere to the Avro naming rules for fullname. If Expression Language is present then the evaluated value must adhere to the Avro naming rules. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Number Of Records To Analyze | Number Of Records To Analyze | 10 | | This property only applies to JSON content type. The number of JSON records that should be examined to determine the Avro schema. The higher the value the better chance kite has of detecting the appropriate type. However the default value of 10 is almost always enough. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Charset | Charset | UTF-8 | | Character encoding of CSV data. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Relationships:
Name | Description |
---|
unsupported content | The content found in the flowfile content is not of the required format. |
success | Successfully created Avro schema from data. |
failure | Failed to create Avro schema from data. |
original | Original incoming FlowFile data |
Reads Attributes:
Name | Description |
---|
mime.type | If configured by property "Input Content Type" will use this value to determine what sort of content should be inferred from the incoming FlowFile content. |
Writes Attributes:
Name | Description |
---|
inferred.avro.schema | If configured by "Schema output destination" to write to an attribute this will hold the resulting Avro schema from inferring the incoming FlowFile content. |
State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.System Resource Considerations:
None specified.