You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Gwen Shapira (JIRA)" <ji...@apache.org> on 2014/10/03 17:09:33 UTC
[jira] [Updated] (FLUME-2492) Flume's Kafka Source doesn't account
time correctly
[ 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)