Marton Szasz created MINIFICPP-1209:
---------------------------------------
Summary: Gracefully handle power events like suspend/hibernate
Key: MINIFICPP-1209
URL: https://issues.apache.org/jira/browse/MINIFICPP-1209
Project: Apache NiFi MiNiFi C++
Issue Type: New Feature
Reporter: Marton Szasz
We currently don't handle power events and this is more likely to lead to data
loss e.g. in the case of power failure during suspend or certain
timeouts/failures, especially when involving network connections.
We should try to flush our work queue, suspend processors and flush state
storage when receiving a power event. We can restart work after wakeup.
We can use winapi on windows and dbus on linux to listen to such events.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)