Myasuka commented on a change in pull request #8091: [hotfix][docs] fix error in Process Function Doc URL: https://github.com/apache/flink/pull/8091#discussion_r270832051
########## File path: docs/dev/stream/operators/process_function.md ########## @@ -199,14 +199,14 @@ case class CountWithTimestamp(key: String, count: Long, lastModified: Long) /** * The implementation of the ProcessFunction that maintains the count and timeouts */ -class CountWithTimeoutFunction extends ProcessFunction[(String, String), (String, Long)] { +class CountWithTimeoutFunction extends KeyedProcessFunction[Tuple, (String, String), (String, Long)] { Review comment: Why not use `class CountWithTimeoutFunction[K] extends KeyedProcessFunction[K, (String, String), (String, Long)]`? If you stick to use `Tuple` as the `KEY`, please import necessary class. ---------------------------------------------------------------- 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 With regards, Apache Git Services