[
https://issues.apache.org/jira/browse/KAFKA-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15160048#comment-15160048
]
ASF GitHub Bot commented on KAFKA-2698:
---------------------------------------
GitHub user hachikuji opened a pull request:
https://github.com/apache/kafka/pull/962
KAFKA-2698: Add paused() method to o.a.k.c.c.Consumer
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hachikuji/kafka KAFKA-2698
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/962.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #962
----
commit 21c3cafc714c4b25673b87a9b62c81a87d720f65
Author: Tom Lee <[email protected]>
Date: 2015-11-02T00:58:38Z
KAFKA-2698: Add paused() method to o.a.k.c.c.Consumer
----
> add paused API
> --------------
>
> Key: KAFKA-2698
> URL: https://issues.apache.org/jira/browse/KAFKA-2698
> Project: Kafka
> Issue Type: Sub-task
> Components: consumer
> Reporter: Onur Karaman
> Priority: Critical
> Fix For: 0.9.1.0
>
>
> org.apache.kafka.clients.consumer.Consumer tends to follow a pattern of
> having an action API paired with a query API:
> subscribe() has subscription()
> assign() has assignment()
> There's no analogous API for pause.
> Should there be a paused() API returning Set<TopicPartition>?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)