You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flume.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/08/23 14:03:00 UTC
[jira] [Commented] (FLUME-2837) Check Kafka Message Size
[ https://issues.apache.org/jira/browse/FLUME-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16590258#comment-16590258 ]
ASF GitHub Bot commented on FLUME-2837:
---------------------------------------
Github user darionyaphet closed the pull request at:
https://github.com/apache/flume/pull/25
> 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: 1.6.0
> Environment: JDK 1.7.0_75 OS X 10.10.4
> Reporter: darion yaphet
> Priority: Major
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@flume.apache.org
For additional commands, e-mail: issues-help@flume.apache.org