Package-level declarations
Types
Represents the state of a batch of records as it moves through processing. These are generic stages for bookkeeping, which CDK interface devs can assign to processing stages as they see fit. The only significant values are
State.
A single-channel queue for checkpoint messages. This is so updating the checkpoint manager never blocks reading from stdin.
Internal representation of destination messages. These are intended to be specialized for usability. Data should be unmarshalled to these from front-line deserialized objects.
Represents a record both deserialized AND marshaled to airbyte value. The marshaling
Represents a record already in its serialized state. The intended use is for conveying records from stdin to the spill file, where reserialization is not necessary.
A serialization-format agnostic wrapper for incoming DestinationRecord's. The record-level corollary to io.airbyte.cdk.load.data.AirbyteValueProxy, providing uniform access to both client data and metadata.
Records.
For messages, we recognize but do not want to process. Different from Undefined mainly in that we don't log a warning.
A channel designed for use with a fixed amount of producers. Close will be called on the underlying channel, when there are no remaining registered producers.
Contextual pass through data.
Broadcast at end-of-stream to all partitions to signal that the stream has ended.
Used internally by the CDK to pass messages between steps in the loader pipeline.
Timed recurring event to keep the pipeline alive if no data is coming.
A message that contains a keyed payload. The key is used to manage the state of the payload's corresponding io.airbyte.cdk.load.pipeline.BatchAccumulator. checkpointCounts is used by the CDK to perform state message bookkeeping. postProcessingCallback is for releasing resources associated with the message.
Converts the internal @AirbyteMessage to the internal @DestinationMessage Ideally, this would not use protocol messages at all, but rather a specialized deserializer for routing.
The default key: partitioned by stream.
Catchall for anything unimplemented.
Used internally by the CDK to implement Loaders. It is added to outputs of io.airbyte.cdk.load.pipeline.BatchAccumulator that can ack or complete record batches. This is done when stitching the dev interface to the pipeline, so the dev does not have to think about internal state.
Used internally by the CDK to keep track of streams while still allowing for partitioning on key.