Package io.debezium.connector.cassandra
Interface CommitLogTransfer
-
- All Known Implementing Classes:
BlackHoleCommitLogTransfer
public interface CommitLogTransferInterface used to transfer commit logs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voiddestroy()Destroy resources used by the commit log transfervoidgetErrorCommitLogFiles()Get 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 Detail
-
init
default void init(Properties commitLogTransferConfigs) throws Exception
Initialize resources required by the commit log transfer- Throws:
Exception
-
destroy
default void destroy() throws ExceptionDestroy resources used by the commit log transfer- Throws:
Exception
-
onSuccessTransfer
void onSuccessTransfer(File file)
Transfer a commit log that has been successfully processed.
-
onErrorTransfer
void onErrorTransfer(File file)
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.
-
-