kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanth Sundarrajan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6066) Use of SimpleDateFormat in RocksDBWindowStore may not be Threadsafe
Date Tue, 17 Oct 2017 05:37:00 GMT
Srikanth Sundarrajan created KAFKA-6066:
-------------------------------------------

             Summary: Use of SimpleDateFormat in RocksDBWindowStore may not be Threadsafe
                 Key: KAFKA-6066
                 URL: https://issues.apache.org/jira/browse/KAFKA-6066
             Project: Kafka
          Issue Type: Bug
          Components: streams
            Reporter: Srikanth Sundarrajan
            Priority: Minor


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*



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message