Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/2707#discussion_r86107589 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/GenericWriteAheadSink.java --- @@ -27,27 +26,30 @@ import org.apache.flink.runtime.state.CheckpointStreamFactory; import org.apache.flink.runtime.state.StreamStateHandle; import org.apache.flink.runtime.util.ReusingMutableToRegularIteratorWrapper; -import org.apache.flink.streaming.api.operators.StreamCheckpointedOperator; import org.apache.flink.streaming.api.operators.AbstractStreamOperator; import org.apache.flink.streaming.api.operators.OneInputStreamOperator; +import org.apache.flink.streaming.api.operators.StreamCheckpointedOperator; import org.apache.flink.streaming.runtime.streamrecord.StreamRecord; import org.apache.flink.util.InstantiationUtil; +import org.apache.flink.util.Preconditions; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.io.Serializable; import java.util.HashSet; +import java.util.Map; import java.util.Set; import java.util.TreeMap; import java.util.UUID; /** - * Generic Sink that emits its input elements into an arbitrary backend. This sink is integrated with the checkpointing - * mechanism and can provide exactly-once guarantees; depending on the storage backend and sink/committer implementation. + * Generic Sink that emits its input elements into an arbitrary backend. This sink is integrated with + * Flink's checkpointing mechanism and can provide exactly-once guarantees; depending on the storage --- End diff -- the javadocs don't exceed the line limit, please don't reformat them.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---