Commit 151cbaf0 authored by Vaibhav's avatar Vaibhav
Browse files

Issue #SB-23374 fix: creating Kafka topic for QuML bulk upload as part of JIRA key-> SB-23374

Showing with 18 additions and 0 deletions
+18 -0
env: dev
av_kafka_topic_create: false
processing_kafka_overriden_topics:
- name: lms.audit.events
retention_time: 172800000
......@@ -28,3 +30,9 @@ processing_kafka_topics:
num_of_partitions: 1
replication_factor: 1
av_service_topics:
- name: av.question.bulkupload
retention_time: 172800000
replication_factor: 1
num_of_partitions: 1
......@@ -12,3 +12,12 @@
when: kafka_id=="1" and item.retention_time is defined
tags:
- processing-kafka
name: create topics
command: /opt/kafka/bin/kafka-topics.sh --zookeeper localhost:2181 --create --topic {{env_name}}.{{item.name}} --partitions {{ item.num_of_partitions }} --replication-factor {{ item.replication_factor }}
with_items: "{{av_service_topics}}"
ignore_errors: true
when: kafka_id=="1" and av_kafka_topic_create
tags:
- processing-kafka
\ No newline at end of file
......@@ -15,6 +15,7 @@ opensaber_service_url={{ sunbird_opensaber_service_url}}
telemetry_service_endpoint=v1/telemetry
telemetry_service_host=http://telemetry-service:9001
sunbird_kafka_host={{groups['sunbird-processing-cluster-kafka']|join(':9092,')}}:9092
dock_kafka_host={{groups['processing-cluster-kafka']|join(':9092,')}}:9092
sunbird_auto_creation_topic={{ sunbird_auto_creation_topic }}
sunbird_question_bulkupload_topic={{ env_name }}.av.question.bulkupload
sunbird_kafka_bulkupload_consumer_group_id={{ env_name }}.av.qstn.bulkupload
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment