Interface ReplicationMessage

    • Method Detail

      • getCommitTime

        Instant getCommitTime()
        Returns:
        Transaction commit time for this change
      • getTransactionId

        long getTransactionId()
        Returns:
        An id of transaction to which this change belongs
      • getTable

        String getTable()
        Returns:
        Table changed
      • hasTypeMetadata

        boolean hasTypeMetadata()
        Returns:
        true if type metadata are passed as a part of message
      • isLastEventForLsn

        boolean isLastEventForLsn()
        Returns:
        true if this is the last message in the batch of messages with same LSN
      • shouldSchemaBeSynchronized

        default boolean shouldSchemaBeSynchronized()
        Returns:
        true if the stream producer should synchronize the schema when processing messages, false otherwise
      • isTransactionalMessage

        default boolean isTransactionalMessage()
        Whether this message represents the begin or end of a transaction.