Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement transformations logic. #1800

Merged
merged 7 commits into from
Jul 19, 2024
Merged

feat: Implement transformations logic. #1800

merged 7 commits into from
Jul 19, 2024

Conversation

marianogappa
Copy link
Contributor

This is a first draft of sdk changes to add transformations support, so that transformer plugins can be created.

I don't want to merge it yet, because the channel logic is not well thought out. I'd rather want to do a test sync locally with some transformation.

@marianogappa marianogappa marked this pull request as draft July 18, 2024 12:52
Copy link

github-actions bot commented Jul 18, 2024

⏱️ Benchmark results

  • Glob-8 ns/op: 91.42

Copy link
Member

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

This looks good 🚀 Thank you for adding the tests 👍

Will wait for an example plugin in our monorepo to approve

@marianogappa
Copy link
Contributor Author

marianogappa commented Jul 19, 2024

I replaced this sdk version onto the monorepo and added preliminary support for transformers in syncs, and I added a "reverser" transformer. Here's the result of hooking it up on an xkcd sync:

Screenshot 2024-07-19 at 12 59 06

@marianogappa marianogappa marked this pull request as ready for review July 19, 2024 15:36
@kodiakhq kodiakhq bot merged commit 377194e into main Jul 19, 2024
7 checks passed
@kodiakhq kodiakhq bot deleted the mariano/transformers branch July 19, 2024 15:40
kodiakhq bot pushed a commit that referenced this pull request Jul 19, 2024
🤖 I have created a release *beep* *boop*
---


## [4.50.0](v4.49.4...v4.50.0) (2024-07-19)


### Features

* Implement transformations logic. ([#1800](#1800)) ([377194e](377194e))


### Bug Fixes

* Use trace level for source batcher log message ([#1803](#1803)) ([6ccf7e6](6ccf7e6))

---
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants