public class SqlServerConnectorTask extends BaseSourceTask
BaseSourceTask.State| Modifier and Type | Field and Description |
|---|---|
private static String |
CONTEXT_NAME |
private SqlServerConnection |
dataConnection |
private ErrorHandler |
errorHandler |
private static org.slf4j.Logger |
LOGGER |
private SqlServerConnection |
metadataConnection |
private ChangeEventQueue<DataChangeEvent> |
queue |
private SqlServerDatabaseSchema |
schema |
private SqlServerTaskContext |
taskContext |
| Constructor and Description |
|---|
SqlServerConnectorTask() |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.kafka.connect.source.SourceRecord> |
doPoll() |
protected 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 SqlServerTaskContext taskContext
private volatile ChangeEventQueue<DataChangeEvent> queue
private volatile SqlServerConnection dataConnection
private volatile SqlServerConnection metadataConnection
private volatile ErrorHandler errorHandler
private volatile SqlServerDatabaseSchema 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 BaseSourceTaskInterruptedExceptionprotected void doStop()
doStop in class BaseSourceTaskprotected Iterable<Field> getAllConfigurationFields()
getAllConfigurationFields in class BaseSourceTaskCopyright © 2021 JBoss by Red Hat. All rights reserved.