ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Guseinov <ro...@gromtech.ru>
Subject Re: LifeCycle STOPPED question
Date Wed, 28 Mar 2018 02:29:44 GMT
Hi Chris,

STOPPED state is final. A node will not become STARTED again after that.

Why do you need to create a NodeKiller? Node's process will be closed
automatically when Life Cycle Beans handled BEFORE_NODE_STOP,
AFTER_NODE_STOP events.

The difference between these events is that BEFORE_NODE_STOP will be
received before Ignite destroyed own components (workers, spi, thread
pools).

This way, it sounds reasonable to close the Kafka Consumer in the process of
handling BEFORE_NODE_STOP.

Best Regards,
Roman



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Mime
View raw message