Repository navigation
feat: migrate cloud destinations to v2 sdk - #5916
Conversation
atzoum
left a comment
There was a problem hiding this comment.
My main concern is that there is no viable rollout strategy for this change.
We shouldn't be needing to revert a release due to a bug in awsv2 destination managers, nor should a release be blocked in an environment because it contains sdkv2 changes.
At least during the rollout period, we should be able to control whether awsSdkV2 or awsSdkV1 destination managers should be used in any given deployment (defaulting to v1). Post rollout we could remove this configuration option.
| Produce(jsonData json.RawMessage, _ interface{}) (int, string, string) | ||
| } | ||
|
|
||
| func NewProducer(conf *config.Config, log logger.Logger) (WunderkindManager, error) { |
There was a problem hiding this comment.
can't we use the common switcher here as well?
There was a problem hiding this comment.
here we can't because the signature is different. I missed personalise so will do make the changes over there
There was a problem hiding this comment.
we can update original producer to follow common pattern, shall raise pr against this branch?
🤖 I have created a release *beep* *boop* --- ## [1.52.0-rc.1](v1.51.0...v1.52.0-rc.1) (2025-06-16) ### Features * capture bot metrics post deduplication ([#5956](#5956)) ([94f40c8](94f40c8)) * detect and handle memory-fenced responses in rudder-server ([#5935](#5935)) ([af45808](af45808)) * migrate cloud destinations to v2 sdk ([#5916](#5916)) ([93d64f5](93d64f5)) * shutdown server on non-reloadable config change ([#5941](#5941)) ([985d3f9](985d3f9)) ### Bug Fixes * duplicates in snowpipe streaming due to stale channel cache ([#5957](#5957)) ([4badd49](4badd49)) * gcs file deletion timing out ([#5951](#5951)) ([e4abe53](e4abe53)) * update and extend async event delivery time metrics tests for JobParameters logic ([#5975](#5975)) ([01483d5](01483d5)) * warehouse transformations deep copying arguments ([#5979](#5979)) ([28d15ac](28d15ac)) ### Miscellaneous * add conversionTime iso 8601 validation for bingads oc ([#5858](#5858)) ([3e0dc6f](3e0dc6f)) * create new backoff on every reporting request ([#5993](#5993)) ([7e3715a](7e3715a)) * **deps:** bump the go-deps group across 1 directory with 21 updates ([#5983](#5983)) ([aa3ee66](aa3ee66)) * remove golang.org/x/crypto v0.32.0 ([#5986](#5986)) ([6fbb5a3](6fbb5a3)) * sync release v1.51.0 to main branch ([#5971](#5971)) ([b9b1a21](b9b1a21)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [1.52.0](v1.51.0...v1.52.0) (2025-06-16) ### Features * capture bot metrics post deduplication ([#5956](#5956)) ([94f40c8](94f40c8)) * detect and handle memory-fenced responses in rudder-server ([#5935](#5935)) ([af45808](af45808)) * migrate cloud destinations to v2 sdk ([#5916](#5916)) ([93d64f5](93d64f5)) * shutdown server on non-reloadable config change ([#5941](#5941)) ([985d3f9](985d3f9)) ### Bug Fixes * duplicates in snowpipe streaming due to stale channel cache ([#5957](#5957)) ([4badd49](4badd49)) * gcs file deletion timing out ([#5951](#5951)) ([e4abe53](e4abe53)) * update and extend async event delivery time metrics tests for JobParameters logic ([#5975](#5975)) ([01483d5](01483d5)) * warehouse transformations deep copying arguments ([#5979](#5979)) ([28d15ac](28d15ac)) ### Miscellaneous * add conversionTime iso 8601 validation for bingads oc ([#5858](#5858)) ([3e0dc6f](3e0dc6f)) * create new backoff on every reporting request ([#5993](#5993)) ([7e3715a](7e3715a)) * **deps:** bump the go-deps group across 1 directory with 21 updates ([#5983](#5983)) ([aa3ee66](aa3ee66)) * remove golang.org/x/crypto v0.32.0 ([#5986](#5986)) ([6fbb5a3](6fbb5a3)) * sync release v1.51.0 to main branch ([#5971](#5971)) ([b9b1a21](b9b1a21)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Description
Migrates all the cloud destinations to v2 SDK
Update the common error handling package to handle
smithy-goerrorsGot rid of tests which were validating the input as the Validate function is no longer exposed
Linear Ticket
Fixes PIPE-2109
Fixes PIPE-2106
Security