mjsax commented on a change in pull request #10810: URL: https://github.com/apache/kafka/pull/10810#discussion_r647115686
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/ProcessorContext.java ########## @@ -158,32 +165,52 @@ Cancellable schedule(final Duration interval, void commit(); /** - * Returns the topic name of the current input record; could be null if it is not - * available (for example, if this method is invoked from the punctuate call). + * Returns the topic name of the current input record; could be {@code null} if it is not Review comment: Well, yes and no. This PR is only documenting the status quo of the current (but "old") API. There is https://cwiki.apache.org/confluence/display/KAFKA/KIP-478+-+Strongly+typed+Processor+API that introduces a new API, including: ``` interface ProcessorContext<K, V> { // this is a new class with same name but located in different/new package Optional<RecordMetadata> recordMetadata(); } The KIP is not fully implemented yet, and thus the current API is not yet deprecated. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org