SIENTIAPDE-1049
Update ingestor and data manager for improved shutdown handling and logging - Incremented project version in quality gate configuration. - Commented out ingestor service in docker-compose for clarity. - Enhanced main loop in app.py to handle exit signals and exceptions. - Added shutdown methods in Ingestor and DataManager classes for graceful resource cleanup. - Updated unit tests to validate shutdown behavior and exception handling. - Introduced coverage configuration to omit specific files.
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
ingestor:
|
||||
build:
|
||||
context: .
|
||||
environment:
|
||||
HOSTNAME: ingestor
|
||||
container_name: ingestor
|
||||
depends_on:
|
||||
- kafka
|
||||
- redis
|
||||
networks:
|
||||
- kafka-net
|
||||
env_file:
|
||||
- .env
|
||||
# ingestor:
|
||||
# build:
|
||||
# context: .
|
||||
# environment:
|
||||
# HOSTNAME: ingestor
|
||||
# container_name: ingestor
|
||||
# depends_on:
|
||||
# - kafka
|
||||
# - redis
|
||||
# networks:
|
||||
# - kafka-net
|
||||
# env_file:
|
||||
# - .env
|
||||
|
||||
zookeeper:
|
||||
image: confluentinc/cp-zookeeper:latest
|
||||
|
||||
Reference in New Issue
Block a user