Skip to content
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

Merged
merged 4 commits into from
Mar 18, 2016
Merged

Using new config validation #42

merged 4 commits into from
Mar 18, 2016

Conversation

Ishiihara
Copy link
Contributor

No description provided.

@Ishiihara
Copy link
Contributor Author

This depends on apache/kafka#964

}

// Define Schema configuration group
static {
Copy link
Contributor

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();
Copy link
Contributor

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();.

@ewencp
Copy link
Contributor

ewencp commented Mar 18, 2016

LGTM

ewencp added a commit that referenced this pull request Mar 18, 2016
@ewencp ewencp merged commit 6e7395b into master Mar 18, 2016
@ewencp ewencp deleted the new-config branch March 18, 2016 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants