Skip to content

Remove the single static ConfigDef from RestConfig.#8

Merged
Ewen Cheslack-Postava (ewencp) merged 1 commit intomasterfrom
no-static-configdef
Jan 29, 2015
Merged

Remove the single static ConfigDef from RestConfig.#8
Ewen Cheslack-Postava (ewencp) merged 1 commit intomasterfrom
no-static-configdef

Conversation

@ewencp
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

Neha Narkhede (@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...

Ewen Cheslack-Postava (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
Copy Markdown
Contributor

Ewen Cheslack-Postava (@ewencp) LGTM

Ewen Cheslack-Postava (ewencp) added a commit that referenced this pull request Jan 29, 2015
Remove the single static ConfigDef from RestConfig.
@ewencp Ewen Cheslack-Postava (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>
Emma Humber (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>
Emma Humber (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