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

Remove the single static ConfigDef from RestConfig. #8

Merged
merged 1 commit into from
Jan 29, 2015

Conversation

ewencp
Copy link
Contributor

@ewencp ewencp commented Jan 28, 2015

Instead, provide a way to generate the equivalent ConfigDef. This allows
subclasses to ensure they have their own ConfigDef to work with. Previously, if
you had two RestConfig subclasses in the same process, they would share the same
ConfigDef, which easily leads to conflicts.

Instead, provide a way to generate the equivalent ConfigDef. This allows
subclasses to ensure they have their own ConfigDef to work with. Previously, if
you had two RestConfig subclasses in the same process, they would share the same
ConfigDef, which easily leads to conflicts.
@ewencp
Copy link
Contributor Author

ewencp commented Jan 28, 2015

@nehanarkhede Going to need this for Avro support in kafka-rest. Turns out that if you try to run both in the same process their config classes conflict...

ewencp added a commit to confluentinc/schema-registry that referenced this pull request Jan 29, 2015
This change is required by confluentinc/rest-utils#8 and avoids conflicts with
other subclasses of RestConfig.
@nehanarkhede
Copy link
Contributor

@ewencp LGTM

ewencp added a commit that referenced this pull request Jan 29, 2015
Remove the single static ConfigDef from RestConfig.
@ewencp ewencp merged commit 7f76cd6 into master Jan 29, 2015
@ewencp ewencp deleted the no-static-configdef branch January 29, 2015 06:03
airlock-confluentinc bot pushed a commit that referenced this pull request Sep 10, 2024
Co-authored-by: Prince Raheja <[email protected]>
Co-authored-by: ConfluentSemaphore <[email protected]>
ehumber added a commit that referenced this pull request Sep 10, 2024
airlock-confluentinc bot pushed a commit that referenced this pull request Sep 10, 2024
Co-authored-by: Prince Raheja <[email protected]>
Co-authored-by: ConfluentSemaphore <[email protected]>
ehumber added a commit that referenced this pull request Sep 12, 2024
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