-
Notifications
You must be signed in to change notification settings - Fork 652
feat(source): Use a private link connection to create Kafka source #9119
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
LGTM :) |
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
@@ -688,45 +689,57 @@ where | |||
.get(kafka_props_broker_key(properties)) | |||
.cloned() | |||
.ok_or(MetaError::from(anyhow!( | |||
"Must specify brokers in WITH clause", | |||
"Must specify brokers property in WITH clause", |
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.
"Must specify brokers property in WITH clause", | |
"Must specify \"properties.bootstrap.server\" in WITH clause", |
By the way, why is there a properties.
? Looks redundant..
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.
Fixed. Hmm, I have no idea. It has been there for a long time. cc @tabVersion
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.
it is following Flink's naming style
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, please add user-facing-changes
label for it and provide more details in the Documentation
section.
Codecov Report
@@ Coverage Diff @@
## main #9119 +/- ##
==========================================
- Coverage 70.76% 70.73% -0.04%
==========================================
Files 1195 1195
Lines 197607 197673 +66
==========================================
- Hits 139834 139818 -16
- Misses 57773 57855 +82
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 6 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Why do we use json format here if only port is provided? This seems inconsistent with the format of other properties. Can we just provide something like "8001, 8002" here. |
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, good work
The cloud team doesn't have a final conclusion about the availability zone issue. Use a Json here reserves the flexibility to add more args for the target in the future. cc @mikechesterwang |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
availability zone
arg in the WITH clause is useless, just remove it.#8771
Checklist For Contributo 8000 rs
./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
CREATE CONNECTION
that allow users to create a privatelink connection in the cloudCREATE SOURCE
SQL command