-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (30 loc) · 846 Bytes
/
Copy path.env.example
File metadata and controls
36 lines (30 loc) · 846 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
# StreamGraph environment configuration
# Copy to .env and adjust for your environment
# Kafka
KAFKA_BOOTSTRAP_SERVERS=localhost:9092
KAFKA_TRANSACTIONS_TOPIC=raw-transactions
KAFKA_ALERTS_TOPIC=fraud-alerts
KAFKA_COMPONENTS_TOPIC=entity-components
KAFKA_CONSUMER_GROUP=streamgraph-pipeline
# Flink
FLINK_PARALLELISM=4
FLINK_STATE_BACKEND=rocksdb
FLINK_CHECKPOINT_DIR=file:///tmp/streamgraph-checkpoints
FLINK_CHECKPOINT_INTERVAL_MS=60000
# Feast
FEAST_REPO_PATH=./feast
FEAST_REDIS_HOST=localhost
FEAST_REDIS_PORT=6379
# Alert thresholds
ALERT_SCORE_THRESHOLD_LOW=0.35
ALERT_SCORE_THRESHOLD_MEDIUM=0.50
ALERT_SCORE_THRESHOLD_HIGH=0.75
ALERT_SCORE_THRESHOLD_CRITICAL=0.90
# Generator
GENERATOR_EVENTS_PER_SECOND=200
GENERATOR_FRAUD_RING_RATIO=0.08
GENERATOR_NUM_FRAUD_RINGS=20
# Application
LOG_LEVEL=INFO
METRICS_PORT=9090
ENV=development