You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Bill Bejeck (JIRA)" <ji...@apache.org> on 2017/06/26 12:40:00 UTC

[jira] [Created] (KAFKA-5515) Consider removing date formatting from Segments class

Bill Bejeck created KAFKA-5515:
----------------------------------

             Summary: Consider removing date formatting from Segments class
                 Key: KAFKA-5515
                 URL: https://issues.apache.org/jira/browse/KAFKA-5515
             Project: Kafka
          Issue Type: Improvement
          Components: streams
            Reporter: Bill Bejeck


Currently the {{Segments}} class uses a date when calculating the segment id and uses {{SimpleDateFormat}} for formatting the segment id.  However this is a high volume code path and creating a new {{SimpleDateFormat}} for each segment id is expensive.  We should look into removing the date from the segment id or at a minimum use a faster alternative to {{SimpleDateFormat}} 



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