Github user juergenthomann commented on a diff in the pull request: https://github.com/apache/flink/pull/5481#discussion_r169077241 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/DataStream.java --- @@ -654,6 +648,63 @@ public ExecutionConfig getExecutionConfig() { return transform("Process", outputType, operator); } + /** + * Applies the given {@link KeyedProcessFunction} on the input stream, thereby creating a transformed output stream. + * + * <p>The function will be called for every element in the input streams and can produce zero + * or more output elements. + * + * @param keyedProcessFunction The {@link ProcessFunction} that is called for each element in the stream. + * + * @param <K> The type of key in {@code KeyedProcessFunction}. + * + * @param <R> The type of elements emitted by the {@code PKeyedProcessFunction}. --- End diff -- Could this be a typo with **P**KeyedProcessFunction instead of KeyedProcessFunction?
---