-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
37 lines (31 loc) · 722 Bytes
/
.env.example
File metadata and controls
37 lines (31 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Kafka Configuration
KAFKA_BOOTSTRAP_SERVERS=kafka:9092
KAFKA_RAW_TOPIC=raw-readings
KAFKA_ANOMALY_TOPIC=anomalies
# MinIO Configuration
MINIO_ENDPOINT=minio:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET=iot-data
MINIO_SECURE=false
# TF-Serving Configuration
TFSERVING_URL=http://tfserving:8501
MODEL_NAME=anomaly_detector
MODEL_VERSION=1
# Producer Configuration
NUM_SENSORS=10000
MESSAGES_PER_SECOND=1
ANOMALY_RATE=0.05
# Streaming Configuration
WINDOW_DURATION=60s
SLIDE_DURATION=10s
CHECKPOINT_LOCATION=/tmp/spark-checkpoints
# Model Configuration
LSTM_UNITS=128
SEQUENCE_LENGTH=50
BATCH_SIZE=64
EPOCHS=50
LEARNING_RATE=0.001
ANOMALY_THRESHOLD=0.95
# Monitoring
PROMETHEUS_PORT=8000