Flushing spark

Note!

As prerequisite, the scripts must be prepared according to Preparing and Creating Scripts for KPI Management.

If you stop running a KPI-management system and want to make sure all the pending KPIs are sent to the Kafka output topic, use this spark flush command. 

$ flush.sh