Kafka With Python Django
Published in
4 min readNov 10, 2023
This blog serves as a quick reference for developers integrating Kafka with Django in a standard web application. It assumes prior knowledge of Kafka producer and consumer concepts.
Key Design Principles:
- One Class per Consumer Group: Each consumer group for a specific topic will be represented by its own consumer class.
- Inheritance from Base Consumer Class: All consumers will inherit from a common base class, abstracting connection and consumption details while delegating message processing to child classes.