You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Veena Mithare (Jira)" <ji...@apache.org> on 2020/08/13 08:55:00 UTC

[jira] [Created] (IGNITE-13356) Documentation Change needed: PluginProvider loading changed from 2.8.1

Veena Mithare created IGNITE-13356:
--------------------------------------

             Summary: Documentation Change needed: PluginProvider loading changed from 2.8.1
                 Key: IGNITE-13356
                 URL: https://issues.apache.org/jira/browse/IGNITE-13356
             Project: Ignite
          Issue Type: Improvement
          Components: platforms
    Affects Versions: 2.8.1
            Reporter: Veena Mithare


There seems to be two conflicting documentation on loading the plugin
provider :  

1. The first way as shown in this documentation
[https://apacheignite.readme.io/docs/plugins] :
 uses the Java Service Loader to load the plugin provider . It loads the
plugin configurations through the ignite configuration and hence needs to
use  getPluginConfigurations to get the right configuration for the plugin.
_*Concern*_ : igniteconfiguration.getPluginConfigurations is deprecated in
2.8.1

2. The second way  : igniteconfiguration.getPluginConfigurations has been
deprecated in 2.8.1 .  The recommended way of sending configuration is by
calling igniteconfiguration.setPluginProvider .

Please note there was no 'setPluginProvider' method in the versions prior to
2.8.1.
(
[https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/IgniteConfiguration.html#getPluginConfigurations--]
)



_*Concern*_ : 2.8.1 plugin documentation talks about using service loader
framework. [https://apacheignite.readme.io/docs/plugins]. If we use
setPluginProvider, there is no need to load plugin provider through java
service loader.



 

As per the latest conversation on Ignite Users , it was suggested that I raise a documentation improvement to use the approach 2 above . This Jira is to change the documentation at [https://apacheignite.readme.io/docs/plugins so that it reflects approach 2.|https://apacheignite.readme.io/docs/plugins] 

[http://apache-ignite-users.70518.x6.nabble.com/2-8-1-Loading-Plugin-Provider-td33370.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)