nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Mészáros (JIRA) <>
Subject [jira] [Commented] (NIFI-967) Add record container options to ConvertAvroToJSON
Date Thu, 24 Sep 2015 14:35:04 GMT


Joe Mészáros commented on NIFI-967:

[~rdblue] Would you like to see each Avro record in a new line, where the output is not a
list of objects? Please take a look at NIFI-945, cause it elaborates a similar scenario, and
the github pull request is already done for it (not yet merged). 

> Add record container options to ConvertAvroToJSON
> -------------------------------------------------
>                 Key: NIFI-967
>                 URL:
>             Project: Apache NiFi
>          Issue Type: Wish
>          Components: Extensions
>    Affects Versions: 0.3.0
>            Reporter: Ryan Blue
> ConvertAvroToJSON currently produces a JSON list of the records in an Avro file. There
are common alternatives to making a file of JSON records:
> 1. Concatenating records without the list structure at the root
> 2. Newline-separating records that contain no newlines in white-space
> The processor to convert from JSON to Avro supports those two container options, but
not the list of JSON records. It should be easy enough to implement these. I'd also recommend
making #2 the default, but that probably isn't possible now that the processor has been released.

This message was sent by Atlassian JIRA

View raw message