Top Description Methods
org.postgresql.replication.fluent.logical

public Interface ChainedLogicalCreateSlotBuilder

extends ChainedCommonCreateSlotBuilder<ChainedLogicalCreateSlotBuilder>
Known Direct Implementers
org.postgresql.replication.fluent.logical.LogicalCreateSlotBuilder
Imports
org.postgresql.replication.fluent.ChainedCommonCreateSlotBuilder

Logical replication slot specific parameters.

Method Summary

Modifier and TypeMethod and Description
public ChainedLogicalCreateSlotBuilder

Returns:

the logical slot builder
withOutputPlugin
(String
not null name of the output plugin used for logical decoding
outputPlugin
)

Output plugin that should be use for decode physical represent WAL to some logical form.

Inherited from org.postgresql.replication.fluent.ChainedCommonCreateSlotBuilder:
makewithSlotNamewithTemporaryOption

Method Detail

withOutputPluginback to summary
public ChainedLogicalCreateSlotBuilder withOutputPlugin(String outputPlugin)

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

Parameters
outputPlugin:String

not null name of the output plugin used for logical decoding

Returns:ChainedLogicalCreateSlotBuilder

the logical slot builder