tang7526 commented on code in PR #12139: URL: https://github.com/apache/kafka/pull/12139#discussion_r908804656
########## streams/examples/src/main/java/org/apache/kafka/streams/examples/wordcount/WordCountTransformerDemo.java: ########## @@ -80,17 +83,17 @@ public void init(final ProcessorContext context) { final KeyValue<String, Integer> entry = iter.next(); System.out.println("[" + entry.key + ", " + entry.value + "]"); - - context.forward(entry.key, entry.value.toString()); + final Record<String, String> record = new Record<>(entry.key, entry.value.toString(), timestamp); Review Comment: @bbejeck Done. thank you for your advice. -- 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