You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Tristan Stevens (JIRA)" <ji...@apache.org> on 2016/10/14 10:31:20 UTC

[jira] [Commented] (FLUME-3010) kafkaSink high cpu

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

Tristan Stevens commented on FLUME-3010:
----------------------------------------

Hi, [~cjn082030]
This looks like it's already been resolved in FLUME-2632.

Note also, as of Flume 1.7 there's a brand-new version of the Kafka Sink that uses the new Kafka APIs, this also includes this logic.

> kafkaSink high cpu
> ------------------
>
>                 Key: FLUME-3010
>                 URL: https://issues.apache.org/jira/browse/FLUME-3010
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.6.0
>         Environment: CentOS7,JDK1.7,kafka0.10
>            Reporter: cjn082030
>
> Use Flume-KafkaSink send messages to Kafka_0.10,Flume-server cpu up to 99.*%.May be the method process() doesn't get the correct return value?Line 127,if processedEvents <=0,the return status might should be Status.BACKOFF?



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