public interface DataChangeEventListener
EventDispatcher whenever an event is available for processing.| Modifier and Type | Field and Description |
|---|---|
static DataChangeEventListener |
NO_OP |
| Modifier and Type | Method and Description |
|---|---|
void |
onConnectorEvent(ConnectorEvent event)
Invoked for events that represent a connector event.
|
void |
onErroneousEvent(String event)
Invoked for events that cannot be processed.
|
void |
onEvent(DataCollectionId source,
OffsetContext offset,
Object key,
org.apache.kafka.connect.data.Struct value)
Invoked if an event is processed for a captured table.
|
void |
onFilteredEvent(String event)
Invoked for events pertaining to non-whitelisted tables.
|
static final DataChangeEventListener NO_OP
void onEvent(DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value) throws InterruptedException
InterruptedExceptionvoid onFilteredEvent(String event)
void onErroneousEvent(String event)
void onConnectorEvent(ConnectorEvent event)
Copyright © 2020 JBoss by Red Hat. All rights reserved.