Kafka
  1. Kafka
  2. KAFKA-601

ConsumerConnector.shutdown() hangs if autocommit is enabled, and no zk available

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.7.2
    • Fix Version/s: None
    • Component/s: clients
    • Labels:
      None

      Description

      Hi,

      I have a situation where I want to reliably shut-down a consumer, but it seems to hang in certain conditions, namely:

      • If autocommit.enabled = true
      • If the current zk instance is not available

      It seems that it will indefinitely try to re-create the zk connection, in order to auto-commit, before exiting, even after I've called ConsumerConnector.shutdown().

      I would think that there should be a way to force it to shutdown, even under error conditions.

      Jason

        Activity

        Jason Rosenberg created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Jason Rosenberg
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development