[
https://issues.apache.org/jira/browse/KAFKA-13699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499683#comment-17499683
]
Guozhang Wang commented on KAFKA-13699:
---------------------------------------
Hi [~lqxshay] thanks for filing the ticket. Just to clarify I think the
function did exist in the deprecated old API:
```
org.apache.kafka.streams.processor.ProcessorContext
```
They are not in the new API:
```
org.apache.kafka.streams.processor.api.ProcessorContext
```
Is that right?
> ProcessorContext does not expose Stream Time
> --------------------------------------------
>
> Key: KAFKA-13699
> URL: https://issues.apache.org/jira/browse/KAFKA-13699
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 2.7.0
> Reporter: Shay Lin
> Priority: Major
>
> As a KS developer, I would like to leverage
> [KIP-622|https://cwiki.apache.org/confluence/display/KAFKA/KIP-622%3A+Add+currentSystemTimeMs+and+currentStreamTimeMs+to+ProcessorContext]
> and access stream time in Processor Context.
> However, the methods currentStreamTimeMs or currentSystemTimeMs is missing
> from for KStreams 2.7.0 (Java).
> Checked with [~mjsax] , the methods are absent from both the Processor API
> and old version, i.e.
> * org.apache.kafka.streams.processor.api.ProcessorContext
> * org.apache.kafka.streams.processor.ProcessorContext
--
This message was sent by Atlassian Jira
(v8.20.1#820001)