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 mogdb-jdbc Show documentation
Show all versions of mogdb-jdbc Show documentation
Java JDBC driver for MogDB
/*
* Copyright (c) 2016, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package io.mogdb.replication.fluent.logical;
import io.mogdb.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);
}