You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "David Worms (JIRA)" <ji...@apache.org> on 2013/02/11 16:37:13 UTC

[jira] [Updated] (FLUME-1909) Add JSON event serialiazation

     [ https://issues.apache.org/jira/browse/FLUME-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Worms updated FLUME-1909:
-------------------------------

    Attachment: TestJSONEventSerializer.java
                JSONEventSerializer.java

git diff didn't take new files. JSONEventSerializer is expected to go to "./flume-ng-core/src/main/java/org/apache/flume/serialization/" and TestJSONEventSerializer.java is expected to go to "./flume-ng-core/src/test/java/org/apache/flume/serialization/"
                
> Add JSON event serialiazation
> -----------------------------
>
>                 Key: FLUME-1909
>                 URL: https://issues.apache.org/jira/browse/FLUME-1909
>             Project: Flume
>          Issue Type: New Feature
>          Components: Sinks+Sources
>    Affects Versions: v1.4.0
>            Reporter: David Worms
>         Attachments: JSONEventSerializer.java, TestJSONEventSerializer.java
>
>
> This class writes the header properties and body of the event as JSON lines. The body is by default associated with the "body" key. The "columns" configuration allows to list and order the columns to write. It must contains the name of the body key if you wish to write the event body. The "body" configuration is the name of the key associated to the event body.
> A copy with the class is available on GitHub for immediate usage: https://github.com/wdavidw/flume

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira