You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flume.apache.org by "Jehan Bruggeman (JIRA)" <ji...@apache.org> on 2018/11/15 15:08:00 UTC

[jira] [Comment Edited] (FLUME-2799) Kafka Source - Message Offset and Partition add to headers

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

Jehan Bruggeman edited comment on FLUME-2799 at 11/15/18 3:07 PM:
------------------------------------------------------------------

This issue suggests adding the topic partition *and* offset to the headers. Unfortunately, only the partition is added, which seems like a regrettable omission. Is there a reason for this ? Should this issue rally be considered resolved ?

 

EDIT: I decided to make a [PR for this|https://github.com/apache/flume/pull/238]. Might as well offer a solution :).


was (Author: jbruggem):
This issue suggests adding the topic partition *and* offset to the headers. Unfortunately, only the partition is added, which seems like a regrettable omission. Is there a reason for this ? Should this issue rally be considered resolved ?

> 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: 1.6.0
>            Reporter: Michael Andre Pearce
>            Priority: Minor
>              Labels: easyfix, patch
>             Fix For: 1.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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@flume.apache.org
For additional commands, e-mail: issues-help@flume.apache.org