Package io.debezium.connector.cassandra
Interface CommitLogTransfer
- All Known Implementing Classes:
BlackHoleCommitLogTransfer
public interface CommitLogTransfer
Interface used to transfer commit logs.
Implementations for Cassandra 4 have to
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddestroy()Destroy resources used by the commit log transfervoidGet all error commitLog files into cdc_raw directory for re-processing.default voidinit(Properties commitLogTransferConfigs) Initialize resources required by the commit log transfervoidonErrorTransfer(File file) Transfer a commit log that has not been successfully processed.voidonSuccessTransfer(File file) Transfer a commit log that has been successfully processed.
-
Method Details
-
init
Initialize resources required by the commit log transfer- Throws:
Exception
-
destroy
Destroy resources used by the commit log transfer- Throws:
Exception
-
onSuccessTransfer
Transfer a commit log that has been successfully processed. -
onErrorTransfer
Transfer a commit log that has not been successfully processed. -
getErrorCommitLogFiles
void getErrorCommitLogFiles()Get all error commitLog files into cdc_raw directory for re-processing.
-