From 0c724fd19818c54cf28bd00f935d7c89a307ca19 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..24c1e8b9 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'