Class PgProtoMessageDecoder

    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • SUPPORTED_OPS

        private static final Set<PgProto.Op> SUPPORTED_OPS
      • warnedOnUnkownOp

        private boolean warnedOnUnkownOp
    • Constructor Detail

      • PgProtoMessageDecoder

        public PgProtoMessageDecoder()
    • Method Detail

      • optionsWithMetadata

        public org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder optionsWithMetadata​(org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder builder)
        Description copied from interface: MessageDecoder
        Allows MessageDecoder to configure options with which the replication stream is started. The messages CAN contain type metadata. See PostgreSQL command START_REPLICATION SLOT for more details.
        Returns:
        the builder instance
      • optionsWithoutMetadata

        public org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder optionsWithoutMetadata​(org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder builder)
        Description copied from interface: MessageDecoder
        Allows MessageDecoder to configure options with which the replication stream is started. The messages MUST NOT contain type metadata. See PostgreSQL command START_REPLICATION SLOT for more details.
        Returns:
        the builder instance