From eb6d21ac8c40cc1812ebc95e288d90c8802bf97d Mon Sep 17 00:00:00 2001 From: Prashant Gunjeti <153811259+prashanthShiksha@users.noreply.github.com> Date: Wed, 28 Feb 2024 15:45:42 +0530 Subject: [PATCH] Added new kafka topics in main.yml and config.j2 (#3970) --- ansible/roles/ml-analytics-service/defaults/main.yml | 4 ++++ ansible/roles/ml-analytics-service/templates/config.j2 | 7 +++++++ 2 files changed, 11 insertions(+) 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]