How mohitk009/ai-mlops-kafka-project works
Project type and purpose
• This is an AI MLOps pipeline implemented as a set of event-driven microservices.
• The goal is to ingest data, preprocess it, classify it using an ML model, collect results, and expose them via a frontend.
• Kafka (implemented here with Redpanda) is used as the message bus between services.
File structure
• Top-level:
• Dockerfile, requirements.txt — base container and dependencies.
• frontend.py, frontend-svc.yaml, frontend.yaml — the “frontend” service that serves results/UI.
• redpanda-deploy.yaml, redpanda-svc.yaml — Kafka (Redpanda) deployment and service definitions.
• Microservice directories (each has Dockerfile, main.py, requirements.txt, deploy.yaml):
• uploader — reads or receives raw data and publishes to the “raw-data” Kafka topic.
• pre-processor — subscribes to “raw-data”, processes it, publishes to “processed-data”.
• classifier — subscribes to “processed-data”, applies the ML model, publishes to “classified-data”.
• result — subscribes to “classified-data” and writes results to storage or makes them available to the frontend.
README
• Although minimal, the title “AI-Mlops-Kafka-Project” confirms:
• This is an orchestrated ML inference pipeline.
• Components communicate via Kafka topics.
Key points to capture
• All microservices and their Docker artifacts
• Kafka topics as the central bus with clear naming
• Flow of data through each processing stage
• Deployment context (Kubernetes)
• External interfaces (frontend HTTP endpoints)