dujian0068 opened a new pull request, #16239:
URL: https://github.com/apache/kafka/pull/16239

   Currently, the SystemTime class, which provides system time-related 
functionalities such as getting the current timestamp 、sleep、and await can be 
instantiated multiple times.
   
   Howerver,  system time is unique,In an application, the time obtained in 
different places should be consistent,  But now the time obtained by using the 
Java System class to interact with the underlying layer is the same。
   
   So I suggest changing it to a singleton mode, reflect the uniqueness of 
system time in design
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to