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

Gwen Shapira commented on FLUME-2799:
-------------------------------------

Do we really want Sources to have their own "pre-source"  pluggable interceptor?

I sympathize with the requirement, but perhaps something more "configurable" 
and less "coding" to manage the headers (a bit like what HDFS sink does for 
directory names, only the reverse). After all, simple and configurable sources 
are part of the big value in Flume. 

> Kafka Source - Message Offset and Partition add to headers
> ----------------------------------------------------------
>
>                 Key: FLUME-2799
>                 URL: https://issues.apache.org/jira/browse/FLUME-2799
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.6.0
>            Reporter: Michael Andre Pearce (IG)
>            Priority: Minor
>              Labels: easyfix, patch
>             Fix For: v1.7.0
>
>         Attachments: FLUME-2799-0.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Currently Kafka source only persists the original kafka message's topic into 
> the Flume event headers.
> For downstream interceptors and sinks that may want to have available to them 
> the partition and the offset , we need to add these.
> Also it is noted that the conversion from MessageAndMetaData to FlumeEvent is 
> not configurable unlike other sources such as JMS.



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

Reply via email to