-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (26 loc) · 710 Bytes
/
Copy path.env.example
File metadata and controls
32 lines (26 loc) · 710 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
APP_NAME=PythonWebhookRelay
APP_ENV=dev
UVICORN_HOST=0.0.0.0
UVICORN_PORT=8000
UVICORN_WORKERS=1
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_DATABASE=WEBHOOKRELAY
MYSQL_USER=c
MYSQL_PASSWORD=Dharmilal@7186
MYSQL_ECHO=False
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_DB=0
KAFKA_BOOTSTRAP_SERVERS=127.0.0.1:9092
KAFKA_TOPIC_EVENTS=webhook.events
KAFKA_TOPIC_DLQ=webhook.events.dlq
KAFKA_CONSUMER_GROUP=webhook-relay-delivery
CELERY_BROKER_URL=redis://127.0.0.1:6379/1
CELERY_RESULT_BACKEND=redis://127.0.0.1:6379/2
CELERY_MAX_RETRIES=3
# CELERY_MAX_RETRIES=5
# CELERY_BACKOFF_SECONDS=10,30,60,120,300
CELERY_BACKOFF_SECONDS=10,30,60
HTTP_DELIVERY_TIMEOUT_SECONDS=5
KAFKA_CONSUMER_AUTO_OFFSET_RESET=earliest