determining the msgs for mod_spark_config