AutoActivationPlugin
Форк от a-zamury/AutoActivationPlugin
README.md
AutoActivationPlugin
Apache Ignite plugin for automatic cluster activation
Plugin skip cluster activation in any of next cases
- cluster state is ACTIVE
- cluster baseline is not empty
Usage:
<bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="pluginProviders">
<bean class="org.example.autoactivationplugin.AutoActivationPluginProvider">
<constructor-arg name="condition" ref="condition" />
</bean>
</property>
</bean>
where condition
can be one of the following beans:
<bean id="condition" class="org.example.autoactivationplugin.ActivateByConstistendID">
<constructor-arg name="requiredNodes">
<util:set>
<value>server-0</value>
<value>server-1</value>
</util:set>
</constructor-arg>
</bean>
or
<bean id="condition" class="org.example.autoactivationplugin.ActivateByNodeAttribute">
<constructor-arg name="attributeName" value="ATTR"/>
<constructor-arg name="requredValues">
<util:set>
<value>server-0</value>
<value>server-1</value>
</util:set>
</constructor-arg>
</bean>
Описание
Apache Ignite plugin for automatic cluster activation
Языки
Java