You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Jeff Holoman (JIRA)" <ji...@apache.org> on 2015/12/08 15:37:10 UTC

[jira] [Commented] (FLUME-2852) Kafka Source/Sink should optionally read/write Avro Datums

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

Jeff Holoman commented on FLUME-2852:
-------------------------------------

Just want to make sure I understand the issue as I'm working on all of the Kafka components as part of FLUME-2820.

Are you suggesting to write Flume's AvroFlumeEvent as the message? Would you propose to persist the schema in the header? Can you help me understand your flow?


> Kafka Source/Sink should optionally read/write Avro Datums
> ----------------------------------------------------------
>
>                 Key: FLUME-2852
>                 URL: https://issues.apache.org/jira/browse/FLUME-2852
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.6.0
>            Reporter: Tristan Stevens
>            Assignee: Jeff Holoman
>
> Currently the Kafka Sink only writes the event body to Kafka rather than an Avro Datum. This works fine when being used with a Kafka Source, or when being used with Kafka Channel, however it does mean that any Flume headers are lost when transported via Kafka.
> Request is to implement an equivalent of the Kafka Channel's parseAsFlumeEvent parameter to the sink/source so that optionally Avro Datums can be read from and written to Kafka.



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