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

Can't have StandbyTasks in KafkaStreams where NUM_STREAM_THREADS_CONFIG > 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.0
    • 0.10.1.0
    • streams
    • None

    Description

      When we have StandbyTasks in a Kafka Streams app and we have > 1 threads per instance we can run into:

      Caused by: java.io.IOException: task [1_0] Failed to lock the state directory: /private/tmp/kafka-streams-smoketest/2/SmokeTest/1_0
      

      This is because the same StandbyTask has been assigned to each thread in the same KafkaStreams instance

      Attachments

        Issue Links

          Activity

            People

              damianguy Damian Guy
              damianguy Damian Guy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: