-
Notifications
You must be signed in to change notification settings - Fork 706
fix(connector): make kinesis work again #6317
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
Signed-off-by: tabVersion <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #6317 +/- ##
==========================================
- Coverage 74.41% 74.41% -0.01%
==========================================
Files 952 953 +1
Lines 154999 155119 +120
==========================================
+ Hits 115345 115427 +82
- Misses 39654 39692 +38
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
waruto210
left a comment
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
WingsUpete
left a comment
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.
Seems clear for me to understand
|
LGTM. But the title is somewhat mismatched with the content. I feel it's more of a "feat" rather than a "fix". And without this PR I think kinesis can still "work". "feat(connector): support options to specify offsets for kinesis" would be more appropriate. |
I insist the pr be a fix. we would get into an |
I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
PLEASE DO NOT LEAVE THIS EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:
as title, add kinesis properties, allowing start consuming from the given position, earliest and latest.
Checklist
./risedev check(or alias,./risedev c)Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.
Release note
add two fields in WITH options
scan.startup.mode: specify the position for start consuming. accept values:latest,earliest,sequence_number, defaultearliestscan.startup.sequence_number: specify a offset to start consuming. This field is only available and required when settingscan.startup.modetosequence_numberRefer to a related PR or issue link (optional)