-
Notifications
You must be signed in to change notification settings - Fork 27
feat: Add KeyToValue transform #170
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
Conversation
22b4077
to
d081c4b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start.
src/main/java/io/aiven/kafka/connect/transforms/KeyToValue.java
Outdated
Show resolved
Hide resolved
src/main/java/io/aiven/kafka/connect/transforms/KeyToValue.java
Outdated
Show resolved
Hide resolved
src/main/java/io/aiven/kafka/connect/transforms/KeyToValue.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to rename the file I'll wait for merge otherwise let me know and I will push the button.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be KeyToValueConnectorTest rather than TestKeyToValueConnector?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, this isn't a test :/
It needs a better name, or even optimised with a better strategy for all integration tests... Do you have any suggestions for the name for now? MockKeyToValueSource
isn't quite right either :/
Adds a new transformation that appends the key or selected key fields into the existing value.
This is similar to the existing standard Kafka transform ValueToKey, which replaces the existing key with fields from the value).