Thread: Could we go back in a replication slot?

Could we go back in a replication slot?

From
xiong ding
Date:
Hi, community,

The START_REPLICATION command accepts a lsn parameter, but according to the document that replication "starts at either WAL location XXX/XXX or the slot's confirmed_flush_lsn (see Section 54.19), whichever is greater." I wonder if there is a way to go back, like a command to set confirmed_flush_lsn to a previous lsn.

I am asking because I may need to replay the replication messages to Kafka.

Sincerely,
Xiong Ding