[
https://issues.apache.org/jira/browse/IGNITE-11651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17057905#comment-17057905
]
Artem Budnikov commented on IGNITE-11651:
-----------------------------------------
Added:
https://apacheignite.readme.io/docs/baseline-topology#section-cluster-activationdeactivation-events
> Add cluster (de)activation events documentation
> -----------------------------------------------
>
> Key: IGNITE-11651
> URL: https://issues.apache.org/jira/browse/IGNITE-11651
> Project: Ignite
> Issue Type: Task
> Components: documentation
> Reporter: Igor Belyakov
> Assignee: Artem Budnikov
> Priority: Major
> Fix For: 2.8
>
>
> {{Add information regarding cluster activation events to
> [https://apacheignite.readme.io/docs/baseline-topology#section-activating-the-cluster]}}
>
> After cluster activation/deactivation local event will be raised.
> (EVT_CLUSTER_ACTIVATED/EVT_CLUSTER_DEACTIVATED)
> Subscribing for local events described here:
> [https://apacheignite.readme.io/docs/events#section-local-events]
> Example:
> ignite.events().localListen((evt) -> {
> // Do something.
> return true;
> }, EventType.EVT_CLUSTER_ACTIVATED);
> Cluster event types:
> {{EVT_CLUSTER_ACTIVATED - Invoked after Ignite cluster activation.}}
> {{EVT_CLUSTER_DEACTIVATED - Invoked after Ignite cluster deactivation.}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)