-
Notifications
You must be signed in to change notification settings - Fork 590
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
fix: check kafka reachability without involving spec topic #12569
Conversation
- Added a new function to check if the client can fetch metadata from Kafka. - Modified the logic for fetching start and stop offsets based on certain values. - Added functions to fetch offsets and start/stop offsets for partitions based on watermark and configuration. - Updated the `SinkWriterParam` type to `SinkWriterMetrics` in the `into_log_sinker` method signature. Signed-off-by: tabVersion <[email protected]>
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, thanks for the quick fix!
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!
Codecov Report
@@ Coverage Diff @@
## main #12569 +/- ##
==========================================
+ Coverage 69.37% 69.42% +0.05%
==========================================
Files 1440 1469 +29
Lines 238947 240663 +1716
==========================================
+ Hits 165762 167083 +1321
- Misses 73185 73580 +395
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 21 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
resolve #12365
as title,
in prev impl, kafka sink will reject the query if there is no such topic on the kafka side, but the brokers are available.
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.