kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Gustafson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-2230) Add a wakeup() call to the new consumer
Date Thu, 22 Oct 2015 00:22:27 GMT

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

Jason Gustafson resolved KAFKA-2230.
------------------------------------
    Resolution: Fixed

This was added in KAFKA-2168.

> Add a wakeup() call to the new consumer
> ---------------------------------------
>
>                 Key: KAFKA-2230
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2230
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Jay Kreps
>
> The consumer is meant to be used in an event loop where you poll with some timeout. There
are sometime instances where you want the consumer to stop waiting on I/O and wake up and
do something (like shut down or tell you the offset or whatever) it would be good to add an
api like
>   wakeup()
> to the consumer to allow the client to do this.



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

Mime
View raw message