diff --git a/ansible/roles/ml-analytics-service/defaults/main.yml b/ansible/roles/ml-analytics-service/defaults/main.yml index a67906b1f8..a9cf9dea8f 100755 --- a/ansible/roles/ml-analytics-service/defaults/main.yml +++ b/ansible/roles/ml-analytics-service/defaults/main.yml @@ -138,3 +138,7 @@ ml_analytics_batch_cron_hour: "{{ ml_batch_cron_hour | default('18') }}" ml_analytics_nvsk_cron_minute: "{{ ml_nvsk_cron_minute | default('30') }}" ml_analytics_nvsk_cron_hour: "{{ ml_nvsk_cron_hour | default('7') }}" ml_analytics_nvsk_cron_weekday: "{{ ml_nvsk_cron_weekday | default('4') }}" +ml_analytics_survey_meta_druid_topic_name : "{{ env_name }}.ml.survey.meta" +ml_analytics_survey_completed_druid_topic_name : "{{ env_name }}.ml.survey.status.completed" +ml_analytics_survey_started_druid_topic_name : "{{ env_name }}.ml.survey.status.started" +ml_analytics_survey_inprogress_druid_topic_name : "{{ env_name }}.ml.survey.status.inprogress" \ No newline at end of file diff --git a/ansible/roles/ml-analytics-service/templates/config.j2 b/ansible/roles/ml-analytics-service/templates/config.j2 index 935085d36a..e0d86657ef 100644 --- a/ansible/roles/ml-analytics-service/templates/config.j2 +++ b/ansible/roles/ml-analytics-service/templates/config.j2 @@ -130,6 +130,13 @@ survey_raw_topic = {{ ml_analytics_kafka_survey_topic_name }} survey_druid_topic = {{ ml_analytics_kafka_survey_druid_topic_name }} +survey_meta_druid_topic = {{ ml_analytics_survey_meta_druid_topic_name }} + +survey_completed_druid_topic = {{ ml_analytics_survey_completed_druid_topic_name }} + +survey_started_druid_topic = {{ ml_analytics_survey_started_druid_topic_name }} + +survey_inprogress_druid_topic = {{ ml_analytics_survey_inprogress_druid_topic_name }} [LOGS]