ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Petrov <pmgheap....@gmail.com>
Subject Configuration for explicit plugins providing.
Date Mon, 29 Apr 2019 12:32:33 GMT
Hi Igniters!

Now plugin loading is based on presence of plugin class name in
META-INF/service/org.apache.ignite.plugin.PluginProvider file. I propose to
add special configuration in IgniteConfiguration for passing needed plugin
instances explicitly. It provides ability to
    1. specify plugins via spring configuration.
    2. avoid storing PluginConfiguration separately from PluginProvider
(Now all PluginConfiguration are stored as an array in IgniteConfiguration
and plugin if it's needed in PluginConfiguration merely iterates over all
configurations) by passing plugin configuration directly into plugin
It's possible to support both of approaches for backward compatibility
(e.g. if plugins is not set via IgniteConfiguration current approach will
be used).

PR -- https://github.com/apache/ignite/pull/6517
JIRA -- https://issues.apache.org/jira/browse/IGNITE-11744

I would like to receive feedback on this feature concept.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message