-
Notifications
You must be signed in to change notification settings - Fork 396
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
Using new config validation #42
Conversation
This depends on apache/kafka#964 |
} | ||
|
||
// Define Schema configuration group | ||
static { |
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.
All these static blocks can be combined.
|
||
@Override | ||
protected ConfigDef defineConfig() { | ||
return HdfsSinkConnectorConfig.getConfig(); |
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.
Are we always going to have a class of AbstractConfig
? Should we think about making that the type that's returned rather than ConfigDef
. Not really sure which is better, this just looks like in practice it might always be implemented as return SubclassOfAbstractConfig.getConfig();
.
LGTM |
No description provided.