mirror of
https://github.com/ferdzo/iotDashboard.git
synced 2026-04-05 09:06:26 +00:00
27 lines
560 B
Plaintext
27 lines
560 B
Plaintext
# Redis Configuration
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_DB=0
|
|
REDIS_PASSWORD=
|
|
|
|
# Database Configuration (PostgreSQL/TimescaleDB)
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/iot_dashboard
|
|
|
|
# Consumer Configuration
|
|
CONSUMER_GROUP_NAME=db_writer
|
|
CONSUMER_NAME=worker-01
|
|
BATCH_SIZE=100
|
|
BATCH_TIMEOUT_SEC=5
|
|
PROCESSING_INTERVAL_SEC=1
|
|
|
|
# Stream Configuration
|
|
STREAM_PATTERN=mqtt_stream:*
|
|
DEAD_LETTER_STREAM=mqtt_stream:failed
|
|
|
|
# Database Table Configuration
|
|
TABLE_NAME=sensor_readings
|
|
ENABLE_TIMESCALE=false
|
|
|
|
# Logging Configuration
|
|
LOG_LEVEL=INFO
|