From 95757656c095dddc3559c057082b8b3ac3019b92 Mon Sep 17 00:00:00 2001 From: michaelroytman Date: Thu, 28 Sep 2023 16:48:19 -0400 Subject: [PATCH] feat: add event bus and Kafka Django settings --- edx_exams/settings/devstack.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/edx_exams/settings/devstack.py b/edx_exams/settings/devstack.py index 8208b6c3..44c64080 100644 --- a/edx_exams/settings/devstack.py +++ b/edx_exams/settings/devstack.py @@ -52,3 +52,9 @@ }) LMS_ROOT_URL = 'http://edx.devstack.lms:18000' + +EVENT_BUS_PRODUCER = 'edx_event_bus_kafka.create_producer' +EVENT_BUS_CONSUMER = 'edx_event_bus_kafka.KafkaEventConsumer' +EVENT_BUS_KAFKA_SCHEMA_REGISTRY_URL = 'http://edx.devstack.schema-registry:8081' +EVENT_BUS_KAFKA_BOOTSTRAP_SERVERS = 'edx.devstack.kafka:29092' +EVENT_BUS_TOPIC_PREFIX = 'dev' \ No newline at end of file