Restarting data capture
You can restart data capture where the last data capture session ended.
The restart position is the sequence number of a CDC record
that was returned in the previous data capture session. You can
use the sequence number of the last CDC record processed in the previous
data capture session. However, to preserve transactional integrity,
you should determine last transaction for which a commit or rollback
operation was not processed and restart capture at the beginning of
that transaction. In this case, the restart position is the lowest
sequence number of the CDC_REC_BEGINTX records for incomplete transactions.
To avoid reprocessing already committed transactions, you should also
determine the largest sequence number of the CDC_REC_COMMTX record
that you have already processed in a previous data capture session.
To restart data capture: