kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamal Chandraprakash (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KAFKA-5846) Use singleton NoOpConsumerRebalanceListener in subscribe() call where listener is not specified
Date Fri, 08 Sep 2017 12:19:00 GMT

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

Kamal Chandraprakash reassigned KAFKA-5846:
-------------------------------------------

    Assignee: Kamal Chandraprakash

> Use singleton NoOpConsumerRebalanceListener in subscribe() call where listener is not
specified
> -----------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-5846
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5846
>             Project: Kafka
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Kamal Chandraprakash
>            Priority: Minor
>
> Currently KafkaConsumer creates instance of NoOpConsumerRebalanceListener for each subscribe()
call where ConsumerRebalanceListener is not specified:
> {code}
>     public void subscribe(Pattern pattern) {
>         subscribe(pattern, new NoOpConsumerRebalanceListener());
> {code}
> We can create a singleton NoOpConsumerRebalanceListener to be used in such scenarios.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message