Manages music playback queues for users. Handles song requests, downloads, queue operations, and serves audio files. Coordinates with other services via Kafka to process song downloads.
- Ensure PostgreSQL is running on
localhost:5432 - Create database
postgres(or updateapplication.properties) - Update
application.propertieswith database credentials - Ensure Kafka is running on
localhost:9092 - Configure file storage paths in
application.properties - Run:
mvn spring-boot:run - Service starts on port
8090
Deploy to Kubernetes namespace muzika:
kubectl apply -k k8s/Image: ${ACR_NAME}.azurecr.io/muzika/queuemanager:latest
Requires: PostgreSQL database, Kafka cluster, Azure File Shares (database, downloads, incomplete), Azure Key Vault secrets, ConfigMap