Class PostgresSourceConfig

    • Constructor Detail

      • PostgresSourceConfig

        public PostgresSourceConfig​(int subtaskId,
                                    StartupOptions startupOptions,
                                    List<String> databaseList,
                                    List<String> schemaList,
                                    List<String> tableList,
                                    int splitSize,
                                    int splitMetaGroupSize,
                                    double distributionFactorUpper,
                                    double distributionFactorLower,
                                    boolean includeSchemaChanges,
                                    boolean closeIdleReaders,
                                    Properties dbzProperties,
                                    io.debezium.config.Configuration dbzConfiguration,
                                    String driverClassName,
                                    String hostname,
                                    int port,
                                    String username,
                                    String password,
                                    int fetchSize,
                                    String serverTimeZone,
                                    java.time.Duration connectTimeout,
                                    int connectMaxRetries,
                                    int connectionPoolSize,
                                    @Nullable
                                    String chunkKeyColumn,
                                    boolean skipSnapshotBackfill,
                                    boolean isScanNewlyAddedTableEnabled,
                                    int lsnCommitCheckpointsDelay,
                                    boolean assignUnboundedChunkFirst,
                                    boolean includePartitionedTables,
                                    boolean includeDatabaseInTableId,
                                    List<String> logicalMessagePrefixes,
                                    boolean releaseSnapshotMetadataEnabled)
    • Method Detail

      • getSubtaskId

        public int getSubtaskId()
        Returns subtaskId value.
        Returns:
        subtask id
      • getLsnCommitCheckpointsDelay

        public int getLsnCommitCheckpointsDelay()
        Returns lsnCommitCheckpointsDelay value.
        Returns:
        lsn commit checkpoint delay
      • includePartitionedTables

        public boolean includePartitionedTables()
        Returns includePartitionedTables value.
        Returns:
        include partitioned table
      • getSlotNameForBackfillTask

        public String getSlotNameForBackfillTask()
        Returns the slot name for backfill task.
        Returns:
        backfill task slot name
      • getJdbcUrl

        public String getJdbcUrl()
        Returns the JDBC URL for config unique key.
      • isIncludeDatabaseInTableId

        public boolean isIncludeDatabaseInTableId()
        Returns whether to include database in the generated Table ID.
      • getLogicalMessagePrefixes

        public List<String> getLogicalMessagePrefixes()
        Returns the prefixes for Postgres logical decoding messages.