public interface DebeziumReader<T,Split>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the reader and releases all resources.
|
boolean |
isFinished()
Return the current split of the reader is finished or not.
|
Iterator<T> |
pollSplitRecords()
Reads records from MySQL.
|
void |
submitSplit(Split splitToRead)
Add to split to read, this should call only the when reader is idle.
|
boolean isFinished()
void submitSplit(Split splitToRead)
splitToRead - void close()
@Nullable Iterator<T> pollSplitRecords() throws InterruptedException
Iterator will be returned if the data of split is on pulling.InterruptedExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.