kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ewen Cheslack-Postava (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-2615) Poll() method is broken wrt time
Date Thu, 26 Jan 2017 03:22:26 GMT

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

Ewen Cheslack-Postava updated KAFKA-2615:
       Resolution: Implemented
    Fix Version/s:     (was:
           Status: Resolved  (was: Patch Available)

Resolving as "Implemented" since I can't find a better resolution that matches the situation,
and marking as fixed in to match KAFKA-2677.

> Poll() method is broken wrt time
> --------------------------------
>                 Key: KAFKA-2615
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2615
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients, consumer, producer 
>    Affects Versions:
>            Reporter: Eno Thereska
>            Assignee: Eno Thereska
>              Labels: patch
>             Fix For:
> Initially reported by [~ewencp] and discussed with [~hachikuji]. In NetworkClient.java,
the poll() method receives as input a "now" parameter, does a whole bunch of work (e.g., selector.poll())
and then keeps using "now" in all the subsequent method calls. 
> Passing Time everywhere instead of "now" is a potential fix, but might be expensive since
it's a new system call.

This message was sent by Atlassian JIRA

View raw message