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

Gwen Shapira updated FLUME-2492:
--------------------------------
    Attachment: FLUME-2492.0.patch

proposed fix:

Don't try to count time in loops, the inaccuracies in 
System.getCurrentTimeMillis accumulate.
Instead calculate the limit and compare getCurrentTimeMillis to that.

> Flume's Kafka Source doesn't account time correctly
> ---------------------------------------------------
>
>                 Key: FLUME-2492
>                 URL: https://issues.apache.org/jira/browse/FLUME-2492
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Gwen Shapira
>            Assignee: Gwen Shapira
>         Attachments: FLUME-2492.0.patch
>
>
> When receiving events, Flume's Kafka source does not account correctly for 
> passage of time. 1s batches can take significantly longer (i.e 10s or more).



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

Reply via email to