Kafka implementation for Open edX event bus. Provides Kafka producer/consumer for publishing and consuming Open edX events. Current version 6.1.0 (supports Django 5.2, Python >=3.8). Release cadence: irregular, ~5-10 releases per year.
pip install edx-event-bus-kafkaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic produce and consume example.
Use Python 3.9, 3.10, 3.11, or 3.12 (3.12 supported since v6.0.0).
Use public API: KafkaEventProducer, KafkaEventConsumer, get_producer, create_consumer.
Use iteration pattern: for message in consumer: ...
Consult your Open edX instance's event bus configuration for topic naming conventions.
Configure via EVENT_BUS_PRODUCER_CONFIG and EVENT_BUS_CONSUMER_CONFIG in Django settings.