You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Srikanth Sundarrajan (JIRA)" <ji...@apache.org> on 2017/10/17 05:37:00 UTC

[jira] [Created] (KAFKA-6066) Use of SimpleDateFormat in RocksDBWindowStore may not be Threadsafe

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)