Interface DataSourceReactivePostgreSQLConfig


public interface DataSourceReactivePostgreSQLConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    The maximum number of inflight database commands that can be pipelined.
    Optional<io.vertx.pgclient.SslMode>
    SSL operating mode of the client.
    boolean
    Level 7 proxies can load balance queries on several connections to the actual database.
  • Method Details

    • pipeliningLimit

      OptionalInt pipeliningLimit()
      The maximum number of inflight database commands that can be pipelined.
    • sslMode

      @ConfigDocDefault("disable") Optional<io.vertx.pgclient.SslMode> sslMode()
      SSL operating mode of the client.

      See Protection Provided in Different Modes.

    • useLayer7Proxy

      @WithDefault("false") boolean useLayer7Proxy()
      Level 7 proxies can load balance queries on several connections to the actual database. When it happens, the client can be confused by the lack of session affinity and unwanted errors can happen like ERROR: unnamed prepared statement does not exist (26000). See Using a level 7 proxy