-
Notifications
You must be signed in to change notification settings - Fork 153
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
Introduce the asList method in ConfigOptions #9
Conversation
@jerqi Could u help review? |
Our RssConf imitate SparkConf's style. SparkConf don't have this function, too. Is it better to split config options on the outside of RssConf? |
I think it looks RssConf imitate FlinkConf's style. In Flink, it has asList method. |
common/src/main/java/com/tencent/rss/common/config/ConfigOptions.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/tencent/rss/common/config/RssConf.java
Outdated
Show resolved
Hide resolved
OK. |
Updated. @jerqi |
common/src/main/java/com/tencent/rss/common/config/RssConf.java
Outdated
Show resolved
Hide resolved
common/src/test/java/com/tencent/rss/common/config/ConfigOptionTest.java
Outdated
Show resolved
Hide resolved
common/src/test/java/com/tencent/rss/common/config/ConfigOptionTest.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/tencent/rss/common/config/RssConf.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/tencent/rss/common/config/RssConf.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/tencent/rss/common/config/RssConf.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/tencent/rss/common/config/ConfigOptions.java
Outdated
Show resolved
Hide resolved
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 your contribution.
### What changes were proposed in this pull request? Make the conf of rss.storage.basePath as list ### Why are the changes needed? Follow up the PR #9 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? No need
What changes were proposed in this pull request?
Introduce the asList method in ConfigOptions
Why are the changes needed?
It’s necessary when getting the list of values from the config directly.
Does this PR introduce any user-facing change?
No
How was this patch tested?
UT