You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "darion yaphets (JIRA)" <ji...@apache.org> on 2015/11/06 11:29:27 UTC

[jira] [Updated] (FLUME-2837) Check Kafka Message Size

     [ https://issues.apache.org/jira/browse/FLUME-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

darion yaphets updated FLUME-2837:
----------------------------------
    Attachment: FLUME-2837.patch

> Check Kafka Message Size
> ------------------------
>
>                 Key: FLUME-2837
>                 URL: https://issues.apache.org/jira/browse/FLUME-2837
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.6.0
>         Environment: JDK 1.7.0_75  OS X 10.10.4
>            Reporter: darion yaphets
>         Attachments: FLUME-2837.patch
>
>
> Kafka Sink fetch message from channel and use Kafka Producer to send message to Kafka Broker . When Kafka Broker's config message.max.bytes and message is too long Flume Kafka Sink will failed to send message. I add a check before message send to Kafka Broker . The too long message will be discard and record log with message size. You also can config the messageMaxSize in properties file.



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