2. Real-time Analytics:
- GitHub Repo Name:
realtime-analytics-fastapi-kafka - MVP Goal: Simulate data streams, push them to Kafka, and verify they are being received.
- Key Components:
- Kafka:
- A simple Kafka setup (using Docker).
- A topic for the data stream.
- FastAPI:
- A single endpoint to receive simulated data and publish to Kafka.
- Simple data Generator:
- A script that creates some random data to be sent to the API
- Kafka:
- Steps:
- Dockerize Kafka: Set up Kafka and Zookeeper using docker-compose.
- Develop FastAPI Application: Create the API endpoint and install the python kafka library.
- Create producer Script: Implement script to send random data to the API.
- Verify Kafka Data: Check if data has been sent to Kafka using a client or another producer.
- Documentation: Add README with setup, how to use producer and verify Kafka topic has received data.