refactoed kafka ingestion to go via backend not web-db

This commit is contained in:
2025-11-13 17:42:04 +01:00
parent ba8c42e30e
commit 6a2c41bbdb
8 changed files with 147 additions and 38 deletions

View File

@@ -7,7 +7,12 @@ NEXT_PUBLIC_API_BASE=http://localhost:3000 # base URL for API endpoints, must b
NEXT_PUBLIC_APP_ENV=dev # application environment: 'dev' or 'prod' - controls logging, error handling
NEXT_PUBLIC_HOVER_THRESHOLD=1200 # hover threshold in milliseconds for UI interactions
# Backend service
BACKEND_URL=http://localhost:5000 # backend API URL for kafka ingestion (set to railway service URL in prod)
# Service ports - used by docker-compose and service communication
BACKEND_PORT=5000 # backend server port for kafka ingestion API
KAFKA_HOST=localhost # kafka broker hostname - set to remote host in prod (e.g., kafka.example.com)
KAFKA_PORT=9092 # kafka broker port for event streaming
REDIS_PORT=6377 # redis port for worker queue and caching
REDPANDA_CONSOLE_PORT=8084 # redpanda console UI port for kafka monitoring