Skip to content

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 <114437476+rahejaprince@users.noreply.github.com>
Co-authored-by: ConfluentSemaphore <40306929+ConfluentSemaphore@users.noreply.github.com>
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 <114437476+rahejaprince@users.noreply.github.com>
Co-authored-by: ConfluentSemaphore <40306929+ConfluentSemaphore@users.noreply.github.com>
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.

3 participants