Class PostgresSourceReader

  • All Implemented Interfaces:
    AutoCloseable, org.apache.flink.api.common.state.CheckpointListener, org.apache.flink.api.connector.source.SourceReader

    @Experimental
    public class PostgresSourceReader
    extends IncrementalSourceReaderWithCommit
    The multi-parallel postgres source reader for table snapshot phase from SnapshotSplit and then single-parallel source reader for table stream phase from StreamSplit.

    If scan newly added table is enable, postgres reader will not commit offset until all new added tables' snapshot splits are finished.