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

Use of SimpleDateFormat in RocksDBWindowStore may not be Threadsafe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • streams
    • None

    Description

      Currently SimpleDateFormat is used to construct segmentId from segmentName and vice-versa. This however may not be thread safe if WindowStore is accessed by more than one SteamTask/thread concurrently.
      Ref: org.apache.kafka.streams.state.internals.RocksDBWindowStore#formatter

      Attachments

        Activity

          People

            Unassigned Unassigned
            sriksun Srikanth Sundarrajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: