-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Improve][Connector-V2] Redis support custom key and value #7888
Conversation
…_column") .stringType() .noDefaultValue() .withDescription("key, list, set, zset use value of a specific column"); public static final Option<String> HASH_KEY_COLUMN = Options.key("hash_key_column") .stringType() .noDefaultValue() .withDescription("The column of hash key you want to write to redis"); public static final Option<String> HASH_VALUE_COLUMN = Options.key("hash_value_column") .stringType() .noDefaultValue() .withDescription("The column of hash value you want to write to redis");
cc @FuYouJ |
1: Please write a new e2e test based on your code to test the configuration of customer key, customer value, hashkey, hashvalue |
@FuYouJ done |
Hi @lm-ylj , please follow the guide to open github action on your fork repository. https://github.com/apache/seatunnel/pull/7888/checks?check_run_id=32048740178 |
The new features you added are very important. I think you should include more configuration examples in redis.md to help users understand how to use them. |
Options.key("support_custom_key") | ||
.booleanType() | ||
.defaultValue(false) | ||
.withDescription("if true, enables connection recovery"); |
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.
.withDescription("if true, enables connection recovery"); | |
.withDescription("if true, the key can be customized by the field value in the upstream data."); |
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.
done
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.
LGTM if ci passes. Thanks @lm-ylj !
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.
Thanks for your hard work. I'm okay with that @lm-ylj
Purpose of this pull request
close #7884
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note
.