Class PostgreSQLSource.Builder<T>

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • decodingPluginName

        public PostgreSQLSource.Builder<T> decodingPluginName​(String name)
        The name of the Postgres logical decoding plug-in installed on the server. Supported values are decoderbufs, wal2json, wal2json_rds, wal2json_streaming, wal2json_rds_streaming and pgoutput.
      • schemaList

        public PostgreSQLSource.Builder<T> schemaList​(String... schemaList)
        An optional list of regular expressions that match schema names to be monitored; any schema name not included in the whitelist will be excluded from monitoring. By default all non-system schemas will be monitored.
      • tableList

        public PostgreSQLSource.Builder<T> tableList​(String... tableList)
        An optional list of regular expressions that match fully-qualified table identifiers for tables to be monitored; any table not included in the whitelist will be excluded from monitoring. Each identifier is of the form schemaName.tableName. By default the connector will monitor every non-system table in each monitored schema.
      • username

        public PostgreSQLSource.Builder<T> username​(String username)
        Name of the PostgreSQL database to use when connecting to the PostgreSQL database server.
      • slotName

        public PostgreSQLSource.Builder<T> slotName​(String slotName)
        The name of the PostgreSQL logical decoding slot that was created for streaming changes from a particular plug-in for a particular database/schema. The server uses this slot to stream events to the connector that you are configuring.

        Slot names must conform to PostgreSQL replication slot naming rules, which state: "Each replication slot has a name, which can contain lower-case letters, numbers, and the underscore character."