zsq12138 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_r271122583
 
 

 ##########
 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:
   Thanks for review! I will  import necessary class. I'm using `Tuple` here 
because `keyBy` returns `Tuple`.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to