jlprat commented on code in PR #16778:
URL: https://github.com/apache/kafka/pull/16778#discussion_r1718113871


##########
streams/test-utils/src/main/java/org/apache/kafka/streams/processor/MockProcessorContext.java:
##########
@@ -450,7 +438,7 @@ public Headers headers() {
     @Override
     public long timestamp() {
         if (recordTimestamp == null) {
-            throw new IllegalStateException("Timestamp must be set before use 
via setRecordMetadata() or setTimestamp().");

Review Comment:
   I would say that instead of removing this part we should mention the non 
deprecated method `setRecordTimestamp`



-- 
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]

Reply via email to