Note!
As a prerequisite, the scripts must be prepared according to COPY OF 834.2 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