Interface ReplicationSlotRequest.WithOutputPlugin

All Known Subinterfaces:
ReplicationSlotRequest.LogicalSlotRequestBuilder, ReplicationSlotRequest.LogicalSlotRequestBuilderStep2
Enclosing class:
ReplicationSlotRequest

public static interface ReplicationSlotRequest.WithOutputPlugin
Fluent builder interface fragment to associate the builder with an output plugin.
  • Method Details

    • outputPlugin

      ReplicationSlotRequest.WithOutputPlugin outputPlugin(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 - name of the output plugin used for logical decoding, must not be null or empty
      Returns:
      this builder
      Throws:
      IllegalArgumentException - if outputPlugin is null or empty