-
Notifications
You must be signed in to change notification settings - Fork 129
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
feature request: deduplicate plugin configuration across multiple plugin instances #93
Comments
hbagdi
added a commit
that referenced
this issue
Dec 8, 2019
Often times, multiple plugins share the same configuration and in such a case having configuration duplicated across plugins is not very helpful. In case of a change, all instances need to be updated. `_plugin_configs` store the configuration of the plugins and they can be referenced in any plugin via the `_config` parameter. Q: Why is this feature implemented in code when YAML references can already achieve the same? A: To allow for cases when reference needs to exists across multiple files. Imagine a case where ops introduces the redis connection params and apps team set the plugin details. Fix #93
rainest
pushed a commit
that referenced
this issue
Apr 21, 2021
Often times, multiple plugins share the same configuration and in such a case having configuration duplicated across plugins is not very helpful. In case of a change, all instances need to be updated. `_plugin_configs` store the configuration of the plugins and they can be referenced in any plugin via the `_config` parameter. Q: Why is this feature implemented in code when YAML references can already achieve the same? A: To allow for cases when reference needs to exists across multiple files. Imagine a case where ops introduces the redis connection params and apps team set the plugin details. Fix #93
AntoineJac
pushed a commit
that referenced
this issue
Jan 23, 2024
Often times, multiple plugins share the same configuration and in such a case having configuration duplicated across plugins is not very helpful. In case of a change, all instances need to be updated. `_plugin_configs` store the configuration of the plugins and they can be referenced in any plugin via the `_config` parameter. Q: Why is this feature implemented in code when YAML references can already achieve the same? A: To allow for cases when reference needs to exists across multiple files. Imagine a case where ops introduces the redis connection params and apps team set the plugin details. Fix #93
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of duplicating plugin configuration across each plugin.
A good example is rate-limiting plugin applied on a combination of a route and a consumer for a large number of consumers.
The text was updated successfully, but these errors were encountered: