Package-level declarations

Types

Link copied to clipboard
sealed interface CatalogValidationFailure

Union type for all validation failures.

Link copied to clipboard
@DefaultImplementation(value = LoggingCatalogValidationFailureHandler::class)
interface CatalogValidationFailureHandler : Consumer<CatalogValidationFailure>

At the start of the READ operation, the connector configuration, the configured catalog and the input states are validated against each other. For instance, a catalog may have grown stale after a schema change in the source database. All validation failures are passed to this interface. The production implementation will log a message while the test implementation collects them in a buffer for later inspection.

Link copied to clipboard

DataChannelFormat defines the wire format for Records and state messages sent over the wire.

Link copied to clipboard

DataChannelMedium defines the medium over which Records and state messages are sent. It can be either STDIO (standard input/output) or SOCKET (unix domain sockets).

Link copied to clipboard
data class FieldNotFound(val streamID: StreamIdentifier, val fieldName: String) : CatalogValidationFailure
Link copied to clipboard
data class FieldTypeMismatch(val streamID: StreamIdentifier, val fieldName: String, val expected: AirbyteSchemaType, val actual: AirbyteSchemaType) : CatalogValidationFailure
Link copied to clipboard
data class InvalidCursor(val streamID: StreamIdentifier, val cursor: String) : CatalogValidationFailure
Link copied to clipboard
data class InvalidPrimaryKey(val streamID: StreamIdentifier, val primaryKey: List<String>) : CatalogValidationFailure
Link copied to clipboard
Link copied to clipboard
class OutputMessageRouter(recordsDataChannelMedium: DataChannelMedium, recordsDataChannelFormat: DataChannelFormat, standardOutputConsumer: StandardOutputConsumer, additionalProperties: Map<String, String>, feedBootstrap: FeedBootstrap<*>, acquiredResources: Map<ResourceType, Resource.Acquired>) : AutoCloseable

OutputMessageRouter is responsible for building the appropriate routes for messages output. Record message stream state and status traces may go over std output, or over sockets in JSONL or Protobuf format. All other message like log or error messages go over std output.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard