Skip to content

Commit

Permalink
[FLINK-30823][runtime] Enable speculative execution for PrintSinkFunc…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
ifndef-SleePy authored and zhuzhurk committed Jan 31, 2023
1 parent 7894fe5 commit 886b1f1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package org.apache.flink.streaming.api.functions.sink;

import org.apache.flink.annotation.PublicEvolving;
import org.apache.flink.api.common.SupportsConcurrentExecutionAttempts;
import org.apache.flink.api.common.functions.util.PrintSinkOutputWriter;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.streaming.api.operators.StreamingRuntimeContext;
Expand All @@ -34,7 +35,8 @@
* @param <IN> Input record type
*/
@PublicEvolving
public class PrintSinkFunction<IN> extends RichSinkFunction<IN> {
public class PrintSinkFunction<IN> extends RichSinkFunction<IN>
implements SupportsConcurrentExecutionAttempts {

private static final long serialVersionUID = 1L;

Expand Down

0 comments on commit 886b1f1

Please sign in to comment.