Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-602

A ConsumerConnector that never receives messages does not shutdown cleanly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Auto Closed
    • 0.8.1
    • None
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            jbrosenberg Jason Rosenberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: