Parkerhiphop commented on code in PR #23289:
URL: https://github.com/apache/kafka/pull/23289#discussion_r3878287070
##########
streams/src/test/java/org/apache/kafka/streams/processor/WallclockTimestampExtractorTest.java:
##########
@@ -29,7 +33,20 @@ public void extractSystemTimestamp() {
final TimestampExtractor extractor = new WallclockTimestampExtractor();
final long before = System.currentTimeMillis();
- final long timestamp = extractor.extract(new
ConsumerRecord<>("anyTopic", 0, 0, null, null), 42);
+ final long timestamp = extractor.extract(
+ new ConsumerRecord<>(
+ "anyTopic",
+ 0,
+ 0,
+ 41,
Review Comment:
@chia7712 Thanks for reviewing.
Yes. I should consider it. It will help maintain and improve readability.
I add variables and comment on it.
--
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]