Skip to content

feat: integrate the transformer client with cslb for source transformations - #5881

Merged
mihir20 merged 14 commits into
masterfrom
mihir/pipe-2053
Jun 5, 2025
Merged

mihir20 merged 14 commits into
masterfrom
mihir/pipe-2053

Conversation

@mihir20

@mihir20 mihir20 commented May 21, 2025 •

Copy link
Copy Markdown
Contributor

Description

  • introduce httplb for source transformation
  • replace retrablehttp lib with exp backoff as retrablehttp has some licensing issues

Linear Ticket

mihir/pipe-2053

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

@codecov

codecov Bot commented May 21, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 80.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 76.90%. Comparing base (7e9f1b5) to head (92fb1b6).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
gateway/webhook/webhookTransformer.go 43.75% 7 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5881      +/-   ##
==========================================
+ Coverage   76.79%   76.90%   +0.11%     
==========================================
  Files         494      494              
  Lines       68288    68372      +84     
==========================================
+ Hits        52443    52583     +140     
+ Misses      12965    12919      -46     
+ Partials     2880     2870      -10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mihir20
mihir20 marked this pull request as ready for review May 22, 2025 05:52
@mihir20
mihir20 requested review from atzoum and cisse21 May 22, 2025 06:31
@ktgowtham
ktgowtham self-requested a review May 22, 2025 11:06
Comment thread internal/transformer-client/client.go Resolved
Comment thread internal/transformer-client/client.go Resolved
@mihir20
mihir20 force-pushed the mihir/pipe-2053 branch 2 times, most recently from a4577b6 to 2c0b47b Compare May 27, 2025 12:44
@mihir20
mihir20 requested review from atzoum and ktgowtham May 27, 2025 13:51
Comment thread gateway/webhook/webhookTransformer.go Resolved
@mihir20
mihir20 force-pushed the mihir/pipe-2053 branch from d80be66 to 9bb3a81 Compare May 29, 2025 10:01
Comment thread gateway/webhook/webhookTransformer.go Resolved
@ktgowtham
ktgowtham requested a review from atzoum June 2, 2025 11:11
@mihir20
mihir20 force-pushed the mihir/pipe-2053 branch from 3e49f8b to a05f1ca Compare June 2, 2025 12:26
Comment thread gateway/webhook/webhookTransformer.go Resolved
@mihir20
mihir20 requested a review from atzoum June 4, 2025 07:34
Comment thread gateway/webhook/setup.go
}
transformerClientConfig.TransportConfig.DisableKeepAlives = conf.GetBoolVar(true, "Transformer.Client.sourceTransformer.disableKeepAlives", "Transformer.Client.disableKeepAlives")
transformerClientConfig.TransportConfig.MaxConnsPerHost = conf.GetIntVar(100, 1, "Transformer.Client.sourceTransformer.maxHTTPConnections", "Transformer.Client.maxHTTPConnections")
transformerClientConfig.TransportConfig.MaxIdleConnsPerHost = conf.GetIntVar(1, 1, "Transformer.Client.sourceTransformer.maxHTTPIdleConnections", "Transformer.Client.maxHTTPIdleConnections")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this too conservative? should we increase the default further?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for httplb this limit is per resolved ip, there can be many transformer pods and even with 1 idle connections, each transformer pod will have enough connections.

@mihir20
mihir20 merged commit 53b8156 into master Jun 5, 2025
@mihir20
mihir20 deleted the mihir/pipe-2053 branch June 5, 2025 07:49
atzoum pushed a commit that referenced this pull request Jun 9, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.51.0-rc.2](v1.50.0...v1.51.0-rc.2)
(2025-06-09)


### Features

* integrate the transformer client with cslb for source transformations
([#5881](#5881))
([53b8156](53b8156))
* triggers deployment for staging and hosted releases
([#5950](#5950))
([c8d849e](c8d849e))


### Bug Fixes

* block internal IP access as destination
([#5888](#5888))
([a0a4b91](a0a4b91))
* collected metric named router_process_jobs_count collides with
previously collected histogram named router_process_jobs
([#5966](#5966))
([d60d224](d60d224))
* **processor:** throughput stalling due to mutex deadlock on full
connection pool
([#5919](#5919))
([b18df16](b18df16))
* under reporting of load files when using upload id
([#5889](#5889))
([4a3a11c](4a3a11c))
* under reporting of load files when using upload id
([#5889](#5889))
([#5906](#5906))
([4f300cf](4f300cf))
* use jsonrs stdlib for encoding warehouse transformations
([#5945](#5945))
([0963a17](0963a17))
* warehouse transformations geo enrichment as string
([#5907](#5907))
([4f300cf](4f300cf))
* warehouse transformations responses ordering
([#5954](#5954))
([ea1a527](ea1a527))


### Miscellaneous

* add config to disable load table stats for clickhouse
([#5932](#5932))
([55c26f2](55c26f2))
* add event delivery metrics for async destinations
([#5930](#5930))
([7e9f1b5](7e9f1b5))
* add new metric regulation_worker_deletion_status_count
([#5939](#5939))
([1aa00f9](1aa00f9))
* add test case for dynamic config pattern with numeric default value
([#5904](#5904))
([9cd7180](9cd7180))
* clean up destinationInfo from refreshTokenParams
([#5897](#5897))
([4eb40cd](4eb40cd))
* **deps:** bump github.com/apache/pulsar-client-go from
0.15.1-candidate-2 to 0.15.1
([#5895](#5895))
([4a3a11c](4a3a11c))
* fix aws sdk v2
([#5928](#5928))
([e5b0ab4](e5b0ab4))
* flakiness in upload jobs count
([#5913](#5913))
([b167104](b167104))
* proc sample store uploader
([#5917](#5917))
([2e3b796](2e3b796))
* remove unused schemas repo in warehouse router
([#5879](#5879))
([4e96935](4e96935))
* **router:** adaptive throttler decreasing throttling rate dynamically
based on current throttled rate
([#5931](#5931))
([3d3b5b3](3d3b5b3))
* **router:** use different stats for capturing process stage jobs and
requests
([#5944](#5944))
([6728b2a](6728b2a))
* use zero transport on new common reporting client
([#5959](#5959))
([d35e2cc](d35e2cc))
* warehouse transformations json diff with encoding
([#5937](#5937))
([2e3b796](2e3b796))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
atzoum pushed a commit that referenced this pull request Jun 9, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.51.0-rc.3](v1.50.0...v1.51.0-rc.3)
(2025-06-09)


### Features

* integrate the transformer client with cslb for source transformations
([#5881](#5881))
([53b8156](53b8156))
* triggers deployment for staging and hosted releases
([#5950](#5950))
([c8d849e](c8d849e))


### Bug Fixes

* block internal IP access as destination
([#5888](#5888))
([a0a4b91](a0a4b91))
* collected metric named router_process_jobs_count collides with
previously collected histogram named router_process_jobs
([#5966](#5966))
([d60d224](d60d224))
* **processor:** throughput stalling due to mutex deadlock on full
connection pool
([#5919](#5919))
([b18df16](b18df16))
* router request failing with unsupported media type error
([#5968](#5968))
([edaa10c](edaa10c))
* under reporting of load files when using upload id
([#5889](#5889))
([4a3a11c](4a3a11c))
* under reporting of load files when using upload id
([#5889](#5889))
([#5906](#5906))
([4f300cf](4f300cf))
* use jsonrs stdlib for encoding warehouse transformations
([#5945](#5945))
([0963a17](0963a17))
* warehouse transformations geo enrichment as string
([#5907](#5907))
([4f300cf](4f300cf))
* warehouse transformations responses ordering
([#5954](#5954))
([ea1a527](ea1a527))


### Miscellaneous

* add config to disable load table stats for clickhouse
([#5932](#5932))
([55c26f2](55c26f2))
* add event delivery metrics for async destinations
([#5930](#5930))
([7e9f1b5](7e9f1b5))
* add new metric regulation_worker_deletion_status_count
([#5939](#5939))
([1aa00f9](1aa00f9))
* add test case for dynamic config pattern with numeric default value
([#5904](#5904))
([9cd7180](9cd7180))
* clean up destinationInfo from refreshTokenParams
([#5897](#5897))
([4eb40cd](4eb40cd))
* **deps:** bump github.com/apache/pulsar-client-go from
0.15.1-candidate-2 to 0.15.1
([#5895](#5895))
([4a3a11c](4a3a11c))
* fix aws sdk v2
([#5928](#5928))
([e5b0ab4](e5b0ab4))
* flakiness in upload jobs count
([#5913](#5913))
([b167104](b167104))
* proc sample store uploader
([#5917](#5917))
([2e3b796](2e3b796))
* remove unused schemas repo in warehouse router
([#5879](#5879))
([4e96935](4e96935))
* **router:** adaptive throttler decreasing throttling rate dynamically
based on current throttled rate
([#5931](#5931))
([3d3b5b3](3d3b5b3))
* **router:** use different stats for capturing process stage jobs and
requests
([#5944](#5944))
([6728b2a](6728b2a))
* use zero transport on new common reporting client
([#5959](#5959))
([d35e2cc](d35e2cc))
* warehouse transformations json diff with encoding
([#5937](#5937))
([2e3b796](2e3b796))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants