If you have two or more service models that you want to process in the same cluster simultaneously:
- Create separate KPI profiles for each kpi model. See KPI Profile.
- Create separate input, output, and alarm topics in Kafka for each service model. See Starting Clusters and Creating Topics.
Create separate Spark application configurations for each service model. This can be done by updating the script kpi_params.sh in the folder mz_kpiapp/bin, making one entry per kpi model.
Copy the whole section in the if-statement for "kpiapp", and at least alter these parameters:
if [ "kpiapp" = "$1" ] ← Obviously one app per KPI Model
export MZ_KPI_PROFILE_NAME="kpisales.SalesModel" ← The name of the profile used
0 Comments