You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2017/10/29 09:32:00 UTC

[jira] [Resolved] (KAFKA-602) A ConsumerConnector that never receives messages does not shutdown cleanly

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

Manikumar resolved KAFKA-602.
-----------------------------
    Resolution: Auto Closed

Closing inactive issue. The old consumer is no longer supported.

> A ConsumerConnector that never receives messages does not shutdown cleanly
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-602
>                 URL: https://issues.apache.org/jira/browse/KAFKA-602
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>            Reporter: Jason Rosenberg
>
> Working with the latest trunk version (last commit was on 10/9/2012).
> If I create a consumer connector, and create some KafkaStreams using a TopicFilter, but then never send any messages, and then call shutdown on the connector, the KafkaStreams never get notified of the shutdown.
> Looking at ZookeeperConsumerConnector, in the method 'sendShutdownToAllQueues', It appears the current implementation is dependent on receiving at least 1 message with a topic, before initializing the list of topicThreadIdAndQueues, to send the shutdownCommand to.
> Jason



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