airbyte-cdk/bulk/toolkits/legacy-task-load-avro/README.md
DEPRECATED: This toolkit is for legacy (non-dataflow) connectors that use Avro format only.
This toolkit contains Avro format utilities for connectors that use the legacy task-based architecture. It provides Avro schema generation, value conversion, and the MapperPipeline pattern that predates the modern dataflow pipeline.
New connectors should use core-load with the dataflow pipeline. This toolkit should only be used and updated for the existing connectors that depend on it.
To use this toolkit, add it to your connector's toolkits list along with useLegacyTaskLoader:
airbyteBulkConnector {
core = 'load'
toolkits = ['legacy-task-load-avro']
useLegacyTaskLoader = true
}
AirbyteTypeToAvroSchema - Convert Airbyte types to Avro schemaAirbyteValueToAvroRecord - Convert Airbyte values to Avro recordsAvroMapperPipelineFactory - Legacy MapperPipeline for Avro formattingConnectors should migrate to the modern dataflow pipeline when possible. The dataflow architecture provides better performance, cleaner separation of concerns, and is the actively maintained code path.