Step 7: Kafka 이벤트 시스템 구현

- Kafka 및 Zookeeper 컨테이너 추가
- 공유 Kafka 라이브러리 생성 (Producer/Consumer)
- 이벤트 타입 정의 및 이벤트 모델 구현
- Users 서비스에 이벤트 발행 기능 추가 (USER_CREATED, USER_UPDATED, USER_DELETED)
- PROGRESS.md 및 PLAN.md 문서 생성
- aiokafka 통합 완료
This commit is contained in:
jungwoo choi
2025-09-10 17:00:57 +09:00
parent 4451170466
commit bf05e173cc
9 changed files with 687 additions and 3 deletions

5
shared/kafka/__init__.py Normal file
View File

@ -0,0 +1,5 @@
from .producer import KafkaProducer
from .consumer import KafkaConsumer
from .events import Event, EventType
__all__ = ['KafkaProducer', 'KafkaConsumer', 'Event', 'EventType']