This PR includes code changes to use opencdc.Record everywhere. It removes the old record package entirely. It also updates the connector protocol and SDK to the latest version, so we use the same record across the board. The code is updated according to the changes that were already done in the protocol.
Most of the code changes are straightforward, it's just that there are a lot. I posted a few comments below which call out the important bits, I strongly recommend reading them through before reviewing this PR.
The next PR will remove a bunch of code in pkg/foundation and use the packages in conduit-commons instead.
Description
This PR includes code changes to use
opencdc.Record
everywhere. It removes the oldrecord
package entirely. It also updates the connector protocol and SDK to the latest version, so we use the same record across the board. The code is updated according to the changes that were already done in the protocol.Most of the code changes are straightforward, it's just that there are a lot. I posted a few comments below which call out the important bits, I strongly recommend reading them through before reviewing this PR.
The next PR will remove a bunch of code in
pkg/foundation
and use the packages inconduit-commons
instead.Part of https://github.com/ConduitIO/conduit/issues/1433.
Quick checks: