Package io.debezium.connector.cassandra
Class BlackHoleCommitLogTransfer
- java.lang.Object
-
- io.debezium.connector.cassandra.BlackHoleCommitLogTransfer
-
- All Implemented Interfaces:
CommitLogTransfer
public class BlackHoleCommitLogTransfer extends Object implements CommitLogTransfer
Implementation ofCommitLogTransferwhich deletes commit logs.
-
-
Constructor Summary
Constructors Constructor Description BlackHoleCommitLogTransfer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetErrorCommitLogFiles()Get all error commitLog files into cdc_raw directory for re-processing.voidonErrorTransfer(File file)Transfer a commit log that has not been successfully processed.voidonSuccessTransfer(File file)Transfer a commit log that has been successfully processed.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.connector.cassandra.CommitLogTransfer
destroy, init
-
-
-
-
Method Detail
-
onSuccessTransfer
public void onSuccessTransfer(File file)
Description copied from interface:CommitLogTransferTransfer a commit log that has been successfully processed.- Specified by:
onSuccessTransferin interfaceCommitLogTransfer
-
onErrorTransfer
public void onErrorTransfer(File file)
Description copied from interface:CommitLogTransferTransfer a commit log that has not been successfully processed.- Specified by:
onErrorTransferin interfaceCommitLogTransfer
-
getErrorCommitLogFiles
public void getErrorCommitLogFiles()
Description copied from interface:CommitLogTransferGet all error commitLog files into cdc_raw directory for re-processing.- Specified by:
getErrorCommitLogFilesin interfaceCommitLogTransfer
-
-