-
Notifications
You must be signed in to change notification settings - Fork 316
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
Support automatic DNS lookup for kafka bootstrap servers #3328
Comments
@niebayes, since you marked this issue as a "good first issue," could you share a permalink to the related code? |
Currently, users are required to provide their own greptimedb/config/metasrv.example.toml Lines 57 to 58 in 6628c41
However, users may not able to obtain broker endpoints in the form of We want to eliminate the need for users to manually perform DNS lookup and instead perform automatic DNS lookup within greptimedb. There might have two methods to accomplish this task (Any other solutions are welcome):
The definitions of wal configs reside in this file. |
I would like to offer some help. I've found a simple crate dns-lookup and would like to implement it in the second way. |
@J0HN50N133 Cool. Go ahead and welcome to ping @niebayes or me as a reviewer when you prepare a patch :D |
What type of enhancement is this?
User experience
What does the enhancement do?
Amazon MSK users can only obtain bootstrap server addresses in the form of
b-1.niebayesmskcluste.vekjkv.c2.kafka.ap-southeast-1.amazonaws.com:9094
. However, greptimedb requires addresses in the form of127.0.0.1:9094
. Therefore, we need to support automatic DNS lookup to obtain available bootstrap server addresses.Implementation challenges
No response
The text was updated successfully, but these errors were encountered: