gharris1727 commented on code in PR #16179:
URL: https://github.com/apache/kafka/pull/16179#discussion_r1625205338
##########
clients/src/main/java/org/apache/kafka/common/utils/Time.java:
##########
@@ -30,7 +30,7 @@
*/
public interface Time {
- Time SYSTEM = new SystemTime();
+ Time SYSTEM = SystemTime.getInstance();
Review Comment:
Hey, is there a reason this isn't the canonical singleton instance? Why
would we want two different ways to get the singleton `Time.SYSTEM` and
`SystemTime.getInstance()`?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]