jeqo commented on code in PR #11993: URL: https://github.com/apache/kafka/pull/11993#discussion_r848669558
########## streams/test-utils/src/main/java/org/apache/kafka/streams/processor/api/MockProcessorContext.java: ########## @@ -336,6 +344,14 @@ public void setRecordMetadata(final String topic, recordMetadata = new MockRecordMetadata(topic, partition, offset); } + public void setCurrentSystemTimeMs(final long currentSystemTimeMs) { + this.currentSystemTimeMs = currentSystemTimeMs; + } + + public void setCurrentStreamTimeMs(final long currentStreamTimeMs) { + this.currentStreamTimeMs = currentStreamTimeMs; + } Review Comment: These are required to implement from `ProcessingContext#currentSystemTimeMs()` and `ProcessingContext#currentStreamTimeMs()`. I followed a similar approach as https://github.com/apache/kafka/blob/0d518aaed158896ee9ee6949b8f38128d1d73634/streams/test-utils/src/main/java/org/apache/kafka/streams/processor/MockProcessorContext.java#L401-L407. -- 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