org.postgresql.replication.fluent.logical.ChainedLogicalCreateSlotBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdbc-yugabytedb Show documentation
Show all versions of jdbc-yugabytedb Show documentation
Java JDBC 4.2 (JRE 8+) driver for YugaByte SQL database
/*
* Copyright (c) 2016, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package org.postgresql.replication.fluent.logical;
import org.postgresql.replication.fluent.ChainedCommonCreateSlotBuilder;
/**
* Logical replication slot specific parameters.
*/
public interface ChainedLogicalCreateSlotBuilder
extends ChainedCommonCreateSlotBuilder {
/**
* Output plugin that should be use for decode physical represent WAL to some logical form.
* Output plugin should be installed on server(exists in shared_preload_libraries).
*
* Package postgresql-contrib provides sample output plugin test_decoding that can be
* use for test logical replication api
*
* @param outputPlugin not null name of the output plugin used for logical decoding
* @return the logical slot builder
*/
ChainedLogicalCreateSlotBuilder withOutputPlugin(String outputPlugin);
}