[
https://issues.apache.org/jira/browse/FLUME-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576439#comment-13576439
]
Mike Percy commented on FLUME-1909:
-----------------------------------
Thanks David, try this for the patch:
git add <file1> <file2>
git diff HEAD > FLUME-1909.patch
> 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