mjsax commented on a change in pull request #11336:
URL: https://github.com/apache/kafka/pull/11336#discussion_r827486946
##########
File path:
streams/src/main/java/org/apache/kafka/streams/processor/api/ProcessorContext.java
##########
@@ -247,4 +251,45 @@ Cancellable schedule(final Duration interval,
* @return the key/values matching the given prefix from the StreamsConfig
properties.
*/
Map<String, Object> appConfigsWithPrefix(final String prefix);
+
+ /**
+ * Return the current system timestamp (also called wall-clock time) in
milliseconds.
+ *
+ * <p> Note: this method returns the internally cached system timestamp
from the Kafka Stream runtime.
+ * Thus, it may return a different value compared to {@code
System.currentTimeMillis()}.
+ *
+ * @return the current system timestamp in milliseconds
+ */
+ long currentSystemTimeMs();
Review comment:
Fixed via https://issues.apache.org/jira/browse/KAFKA-13699
--
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]