public class OracleConnectorTask extends BaseSourceTask
BaseSourceTask.State| Modifier and Type | Field and Description |
|---|---|
private static String |
CONTEXT_NAME |
private ErrorHandler |
errorHandler |
private OracleConnection |
historyRecorderConnection |
private OracleConnection |
jdbcConnection |
private static org.slf4j.Logger |
LOGGER |
private ChangeEventQueue<DataChangeEvent> |
queue |
private OracleDatabaseSchema |
schema |
private OracleTaskContext |
taskContext |
| Constructor and Description |
|---|
OracleConnectorTask() |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.kafka.connect.source.SourceRecord> |
doPoll() |
void |
doStop() |
protected Iterable<Field> |
getAllConfigurationFields() |
ChangeEventSourceCoordinator |
start(Configuration config) |
String |
version() |
commit, commitRecord, getPreviousOffset, poll, start, stopprivate static final org.slf4j.Logger LOGGER
private static final String CONTEXT_NAME
private volatile OracleTaskContext taskContext
private volatile ChangeEventQueue<DataChangeEvent> queue
private volatile OracleConnection jdbcConnection
private volatile OracleConnection historyRecorderConnection
private volatile ErrorHandler errorHandler
private volatile OracleDatabaseSchema schema
public String version()
public ChangeEventSourceCoordinator start(Configuration config)
start in class BaseSourceTaskpublic List<org.apache.kafka.connect.source.SourceRecord> doPoll() throws InterruptedException
doPoll in class BaseSourceTaskInterruptedExceptionpublic void doStop()
doStop in class BaseSourceTaskprotected Iterable<Field> getAllConfigurationFields()
getAllConfigurationFields in class BaseSourceTaskCopyright © 2021 JBoss by Red Hat. All rights reserved.