Class PreComputedRecordsSourceConnector.PreComputedRecordsTask
java.lang.Object
org.apache.kafka.connect.source.SourceTask
io.debezium.performance.engine.connector.PreComputedRecordsSourceConnector.PreComputedRecordsTask
- All Implemented Interfaces:
org.apache.kafka.connect.connector.Task
- Enclosing class:
- PreComputedRecordsSourceConnector
public static class PreComputedRecordsSourceConnector.PreComputedRecordsTask
extends org.apache.kafka.connect.source.SourceTask
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.kafka.connect.source.SourceTask
org.apache.kafka.connect.source.SourceTask.TransactionBoundary -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate static List<org.apache.kafka.connect.source.SourceRecord>private intprivate intprivate intprivate final AtomicBooleanFields inherited from class org.apache.kafka.connect.source.SourceTask
context, TRANSACTION_BOUNDARY_CONFIG -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.kafka.connect.source.SourceTask
commit, commitRecord, commitRecord, initialize
-
Field Details
-
records
-
running
-
batchCount
private int batchCount -
recordsPerBatch
private int recordsPerBatch -
recordsFrom
private int recordsFrom -
currentBatch
private int currentBatch -
recordsSent
private int recordsSent
-
-
Constructor Details
-
PreComputedRecordsTask
public PreComputedRecordsTask()
-
-
Method Details
-
version
-
start
- Specified by:
startin interfaceorg.apache.kafka.connect.connector.Task- Specified by:
startin classorg.apache.kafka.connect.source.SourceTask
-
poll
- Specified by:
pollin classorg.apache.kafka.connect.source.SourceTask- Throws:
InterruptedException
-
stop
public void stop()- Specified by:
stopin interfaceorg.apache.kafka.connect.connector.Task- Specified by:
stopin classorg.apache.kafka.connect.source.SourceTask
-