Interface SupportsPreWriteTopology<InputT>
@Experimental
public interface SupportsPreWriteTopology<InputT>
Allows expert users to implement a custom topology before
SinkWriter.-
Method Summary
Modifier and TypeMethodDescriptionaddPreWriteTopology(DataStream<InputT> inputDataStream) Adds an arbitrary topology before the writer.
-
Method Details
-
addPreWriteTopology
Adds an arbitrary topology before the writer. The topology may be used to repartition the data.- Parameters:
inputDataStream- the stream of input records.- Returns:
- the custom topology before
SinkWriter.
-