-
Notifications
You must be signed in to change notification settings - Fork 0
/
depc.example.yml
83 lines (70 loc) · 1.9 KB
/
depc.example.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
SQLALCHEMY_DATABASE_URI: postgresql://user:pass@host/database?connect_timeout=5&keepalives=1&keepalives_idle=5&keepalives_interval=5&keepalives_count=2
SECRET: mysecretkey
DB_ENCRYPTION_KEY: mydbencryptionkey
FLOAT_DECIMAL: 3
FORCE_INSECURE_ADMIN: false
CELERY_CONF:
BROKER_URL: redis://localhost/1
CELERY_RESULT_BACKEND: redis://localhost/2
CELERY_URL_PREFIX: celery
NEO4J:
url: http://127.0.0.1:7474
uri: bolt://127.0.0.1:7687
username: neo4j
password: p4ssw0rd
WARP10:
url: https://example.com/api/v0
rotoken: token
wtoken: token
WARP10_CACHE:
url: https://example.com/api/v0
rotoken: token
wtoken: token
REDIS_CACHE:
url: redis://localhost/3
# Required to run DepC DAGs with Airflow
REDIS_SCHEDULER_CACHE:
url: redis://localhost/4
BEAMIUM:
source-dir: /opt/beamium/sources
LOGGING:
filters:
result:
(): depc.logs.filters.ResultFilter
formatters:
normal:
format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
colored:
(): depc.logs.formatters.ColoredFormatter
format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
handlers:
console:
level: DEBUG
class: logging.StreamHandler
formatter: colored
stream: ext://sys.stdout
database:
level: DEBUG
class: depc.logs.handlers.DatabaseHandler
filters: [result]
root:
level: DEBUG
handlers: [console, database]
propagate: 1
disable_existing_loggers: false
# Configure the Kafka consumer to populate the Neo4j graph database
# The consumer uses SASL/PLAIN authentication
# One topic per team
CONSUMER:
kafka:
hosts: localhost:9093
batch_size: 10
topics: [depc.my_topic]
username: depc.consumer
password: p4ssw0rd
client_id: depc.consumer
group_id: depc.consumer.depc_consumer_group
logging:
level: INFO
heartbeat:
delay: 5