1
0
mirror of synced 2026-01-03 15:04:01 -05:00
Commit Graph

4 Commits

Author SHA1 Message Date
Jimmy Ma
f71fe5ac15 Add message translation to GetSpec (#18130)
* Update SpecActivityImpl to build a VersionedStreamFactory

* Enable Protocol Version detection from Stream for SPEC

* Print log before the action for better debugging

* Fix buffer size for protocol detection

* Improve detectVersion error handling

* extract constan

* Rename attribute for clarity
2022-10-21 10:27:34 -07:00
Jimmy Ma
f267746a18 Use MessageMigration for Source Connection Check. (#17656)
* More AirbyteVersion references fix

* Propagate protocol version from sourceDef to SchedulerClient

* Propagate protocol version to LauncherConfig

* Add VersionedMigratorFactory

* Update VersionedAirbyteStreamFactory

* Fix Version Json serialization/deserialization

* Plug message migration in CheckConnection for Sources
2022-10-13 08:11:31 -07:00
Jimmy Ma
5cd605d221 Prepare injection of Versioning compatible StreamReaderFactory (#17487)
* Use Version instead of AirbyteVersion

* Update Deserializer interface to fit better in existing flow

* Add versioned migrator

* Refactor DefaultAirbyteStreamFactory to enable Versioning

* Use explicit constructor

* Add logging on failed message upgrade
2022-10-03 12:38:26 -07:00
Jimmy Ma
42800f7b37 Add AirbyteProtocol Migration and SerDe framework (#17114)
* Introduce AirbyteProtocol Migration and SerDe framework

* Update serde

* Add demo migration test

* Enable Micronaut

* Do not expose internals

* Naming consistency

* More reordering and visibility fixes

* Use jakarta instead of javax

* Rename Old->Previous New->Current

* Add comments

* Lombok.@Getter
2022-09-28 15:08:28 -07:00