You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Roshan Naik (JIRA)" <ji...@apache.org> on 2015/08/11 02:18:45 UTC

[jira] [Commented] (FLUME-2759) does kafka sink support to get event header and combine it with body

    [ https://issues.apache.org/jira/browse/FLUME-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14680994#comment-14680994 ] 

Roshan Naik commented on FLUME-2759:
------------------------------------

Doesn't look like it. Unfortunately it doesnt support serializers. 

on a side note.. there is an undocumented HeaderAndBodyTextEventSerializer which basically writes out all headers along with body. But thats probably more than you really want... so a custom serializer in this would have potentially done it.

> does kafka sink support to get event header and combine it with body 
> ---------------------------------------------------------------------
>
>                 Key: FLUME-2759
>                 URL: https://issues.apache.org/jira/browse/FLUME-2759
>             Project: Flume
>          Issue Type: Question
>            Reporter: king
>
> i want to get event header in kafka sink beacause i want to combine it with body and send  to kafka,such as json content
> do you have any other suggestion?
> thank you 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)