-
Notifications
You must be signed in to change notification settings - Fork 652
feat(source): Support AWS privatelink for CREATE TABLE command #9728
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
Is it a user-facing change? Besides, what's its difference from our former CREATE CONNECTION command? |
CREATE CONNECTION is only for creating a privatelink connection, then the connection can be used by source, sink, table that needs to access a MSK service in another vpc. |
Codecov Report
@@ Coverage Diff @@
## main #9728 +/- ##
=======================================
Coverage 70.98% 70.98%
=======================================
Files 1246 1246
Lines 208380 208393 +13
=======================================
+ Hits 147921 147936 +15
+ Misses 60459 60457 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Rest LGTM :)
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Support AWS PrivateLink for the CREATE TABLE command that uses a cloud-hosted Kafka source (MSK).
🤖 Generated by Copilot at 7088ca4
This pull request refactors and simplifies the code for handling Kafka connector connections in various handlers and catalog modules. It introduces a common utility function
resolve_connection_in_with_option
to get and validate connection ids from with options. It also improves the reference counting logic of connections in theCatalogManager
by using two helper functions fromutils.rs
.related: #8771
close #9793
Checklist For Contributors
./risedev check
(or alias,./risedev c
)Checklist For Reviewers
Documentation
Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.
Release note
Support AWS PrivateLink for the CREATE TABLE command that uses a cloud-hosted Kafka source