| Modifier and Type | Field and Description |
|---|---|
private Supplier<Collection<? extends DataCollectionId>> |
CdcSourceTaskContext.collectionsSupplier
Obtains the data collections captured at the point of invocation.
|
| Constructor and Description |
|---|
CdcSourceTaskContext(String connectorType,
String connectorName,
Supplier<Collection<? extends DataCollectionId>> collectionsSupplier) |
| Modifier and Type | Class and Description |
|---|---|
class |
EventDispatcher<T extends DataCollectionId>
Central dispatcher for data change and schema change events.
|
static interface |
EventDispatcher.InconsistentSchemaHandler<T extends DataCollectionId>
Reaction to an incoming change event for which schema is not found
|
| Modifier and Type | Method and Description |
|---|---|
void |
SnapshotChangeEventSourceMetrics.dataCollectionSnapshotCompleted(DataCollectionId dataCollectionId,
long numRows) |
void |
StreamingChangeEventSourceMetrics.onEvent(DataCollectionId source,
OffsetContext offset,
Object key,
org.apache.kafka.connect.data.Struct value) |
void |
PipelineMetrics.onEvent(DataCollectionId source,
OffsetContext offset,
Object key,
org.apache.kafka.connect.data.Struct value) |
| Modifier and Type | Method and Description |
|---|---|
void |
SnapshotChangeEventSourceMetrics.monitoredDataCollectionsDetermined(Iterable<? extends DataCollectionId> dataCollectionIds) |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends DataCollectionId> |
AbstractSnapshotChangeEventSource.determineDataCollectionsToBeSnapshotted(Collection<T> allDataCollections) |
| Modifier and Type | Method and Description |
|---|---|
void |
SnapshotProgressListener.dataCollectionSnapshotCompleted(DataCollectionId dataCollectionId,
long numRows) |
Map<String,String> |
EventMetadataProvider.getEventSourcePosition(DataCollectionId source,
OffsetContext offset,
Object key,
org.apache.kafka.connect.data.Struct value) |
Instant |
EventMetadataProvider.getEventTimestamp(DataCollectionId source,
OffsetContext offset,
Object key,
org.apache.kafka.connect.data.Struct value) |
String |
EventMetadataProvider.getTransactionId(DataCollectionId source,
OffsetContext offset,
Object key,
org.apache.kafka.connect.data.Struct value) |
void |
DataChangeEventListener.onEvent(DataCollectionId source,
OffsetContext offset,
Object key,
org.apache.kafka.connect.data.Struct value)
Invoked if an event is processed for a captured table.
|
default String |
EventMetadataProvider.toSummaryString(DataCollectionId source,
OffsetContext offset,
Object key,
org.apache.kafka.connect.data.Struct value) |
| Modifier and Type | Method and Description |
|---|---|
void |
SnapshotProgressListener.monitoredDataCollectionsDetermined(Iterable<? extends DataCollectionId> dataCollectionIds) |
| Modifier and Type | Method and Description |
|---|---|
void |
OffsetContext.event(DataCollectionId collectionId,
Instant timestamp)
Records the name of the collection and the timestamp of the last event
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionMonitor.dataEvent(DataCollectionId source,
OffsetContext offset,
Object key,
org.apache.kafka.connect.data.Struct value) |
long |
TransactionContext.event(DataCollectionId source) |
private void |
TransactionMonitor.transactionEvent(OffsetContext offsetContext,
DataCollectionId source,
org.apache.kafka.connect.data.Struct value) |
| Modifier and Type | Class and Description |
|---|---|
class |
TableId
Unique identifier for a database table.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DatabaseSchema<I extends DataCollectionId>
The schema of a database.
|
static interface |
DataCollectionFilters.DataCollectionFilter<T extends DataCollectionId> |
interface |
HistorizedDatabaseSchema<I extends DataCollectionId>
A database schema that is historized, i.e.
|
class |
TopicSelector<I extends DataCollectionId>
Implementations return names for Kafka topics (data and meta-data).
|
static interface |
TopicSelector.DataCollectionTopicNamer<I extends DataCollectionId>
Implementations determine the topic name corresponding to a given data collection.
|
private static class |
TopicSelector.TopicNameCache<I extends DataCollectionId>
A topic namer that caches names it has obtained from a delegate.
|
private static class |
TopicSelector.TopicNameSanitizer<I extends DataCollectionId>
A topic namer that replaces any characters invalid in a topic name with
_. |
| Modifier and Type | Method and Description |
|---|---|
static <I extends DataCollectionId> |
TopicSelector.defaultSelector(CommonConnectorConfig connectorConfig,
TopicSelector.DataCollectionTopicNamer<I> dataCollectionTopicNamer) |
static <I extends DataCollectionId> |
TopicSelector.defaultSelector(String prefix,
String heartbeatPrefix,
String delimiter,
TopicSelector.DataCollectionTopicNamer<I> dataCollectionTopicNamer) |
| Modifier and Type | Method and Description |
|---|---|
DataCollectionId |
DataCollectionSchema.id() |
Copyright © 2021 JBoss by Red Hat. All rights reserved.