Interface SupportsWriterState<InputT,​WriterStateT>

  • Type Parameters:
    InputT - The type of the sink's input
    WriterStateT - The type of the sink writer's state
    All Known Implementing Classes:
    AsyncSinkBase, FileSink

    @Public
    public interface SupportsWriterState<InputT,​WriterStateT>
    A mixin interface for a Sink which supports a stateful StatefulSinkWriter.

    The Sink needs to be serializable. All configuration should be validated eagerly. The respective sink writers are transient and will only be created in the subtasks on the taskmanagers.