Package-level declarations

Types

Link copied to clipboard
class CdcPartitionReader<T : Comparable<T>>(val resourceAcquirer: ResourceAcquirer, val readerOps: CdcPartitionReaderDebeziumOperations<T>, val upperBound: T, val debeziumProperties: Map<String, String>, val startingOffset: DebeziumOffset, val startingSchemaHistory: DebeziumSchemaHistory?, val isInputStateSynthetic: Boolean, val feedBootstrap: GlobalFeedBootstrap) : UnlimitedTimePartitionReader

PartitionReader implementation for CDC with Debezium.

Link copied to clipboard
class CdcPartitionsCreator<T : Comparable<T>>(val concurrencyResource: ConcurrencyResource, val resourceAcquirer: ResourceAcquirer, val feedBootstrap: GlobalFeedBootstrap, val creatorOps: CdcPartitionsCreatorDebeziumOperations<T>, val readerOps: CdcPartitionReaderDebeziumOperations<T>, val lowerBoundReference: AtomicReference<T>, val upperBoundReference: AtomicReference<T>, val resetReason: AtomicReference<String?>) : PartitionsCreator

PartitionsCreator implementation for CDC with Debezium.

Link copied to clipboard
@Singleton
@Order(value = 10)
class CdcPartitionsCreatorFactory<T : Comparable<T>>(val concurrencyResource: ConcurrencyResource, val resourceAcquirer: ResourceAcquirer, val cdcPartitionsCreatorDbzOps: CdcPartitionsCreatorDebeziumOperations<T>, val cdcPartitionReaderDbzOps: CdcPartitionReaderDebeziumOperations<T>) : PartitionsCreatorFactory

PartitionsCreatorFactory implementation for CDC with Debezium.

Link copied to clipboard
data class Converted(val output: Any?) : PartialConverterResult

Returned by successful PartialConverter applications.

Link copied to clipboard
class ConverterFactory(val customConverterClass: Class<out CustomConverter<*, *>>)

Factory class for generating CustomConverter.Converter instances for debezium given a list of PartialConverters.

Link copied to clipboard
class DebeziumEvent(event: ChangeEvent<String?, String?>)

Convenience wrapper around ChangeEvent.

Link copied to clipboard
value class DebeziumOffset(val wrapped: Map<JsonNode, JsonNode>)

DebeziumOffset wraps the contents of a Debezium offset file.

Link copied to clipboard

Stateless connector-specific Debezium operations.

Link copied to clipboard
class DebeziumPropertiesBuilder(props: Properties = Properties())

Utility class for building Properties for initializing the Debezium engine.

Link copied to clipboard
value class DebeziumRecordKey(val wrapped: JsonNode)

DebeziumRecordKey wraps a Debezium change data event key.

Link copied to clipboard
value class DebeziumRecordValue(val wrapped: JsonNode)

DebeziumRecordValue wraps a Debezium change data event value.

Link copied to clipboard
value class DebeziumSchemaHistory(val wrapped: List<HistoryRecord>)

DebeziumSchemaHistory wraps the contents of a Debezium schema history file.

Link copied to clipboard

DebeziumStateFilesAccessor reads and writes from Debezium offset and schema history files. This should NOT be done while the Debezium Engine is running! None of this is thread-safe. Instead, this object should be used to:

Link copied to clipboard
data class DeserializedRecord(val data: NativeRecordPayload, val changes: Map<Field, FieldValueChange>)

DeserializedRecords are used to generate Airbyte RECORD messages.

Link copied to clipboard

Returned by unsuccessful PartialConverter applications.

Link copied to clipboard

Utility PartialConverter for dealing with null values when these are valid. This cuts down on the boilerplate when defining subsequent PartialConverter implementations.

Link copied to clipboard
fun interface PartialConverter

PartialConverter objects are used by RelationalColumnCustomConverter.Handler objects which to define a sequence of conversion functions which work on a best-effort basis to convert a given input value, provided by Debezium, into an output value which obeys the Airbyte Protocol.

Link copied to clipboard
sealed interface PartialConverterResult

Output type of a PartialConverter.

Link copied to clipboard
interface RelationalColumnCustomConverter : CustomConverter<SchemaBuilder, RelationalColumn>

Used by Debezium to transform record values into their expected format.

Link copied to clipboard