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

Can't have StandbyTasks in KafkaStreams where NUM_STREAM_THREADS_CONFIG > 1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1.0
    • Fix Version/s: 0.10.1.0
    • Component/s: streams
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: