-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
41 lines (37 loc) · 925 Bytes
/
.env
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
# HTTP
SERVER_HOST=localhost
SERVER_PORT=8080
# SQL
# Only Skunk
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=database
# Only Doobie
DATABASE_DRIVER=org.postgresql.Driver
DATABASE_URL=jdbc:postgresql://$DATABASE_HOST:$DATABASE_PORT/$DATABASE_NAME
# Both Doobie and Skunk
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
DATABASE_THREAD_SIZE=10
# Redis
REDIS_SERVER=redis://localhost:6379
# Kafka
# Both Producer and Consumer
KAFKA_SERVER=localhost:9092
# Only Producer
KAFKA_LINGER_MS=10
KAFKA_BATCH_SIZE=500
KAFKA_IDEMPOTENCE=true
KAFKA_REQUEST_PER_CONNECTION=3
KAFKA_RETRIES=3
KAFKA_COMPRESSION=snappy
# Only Consumer
KAFKA_EVENT_GROUP_ID=event.group.id
KAFKA_AUTO_COMMIT=false
API_CLIENT_ID=api.client.id
COMMANDS_CHANNEL=commands.channel
COMMANDS_CLIENT_ID=commands.client.id
COMMANDS_GROUP_ID=commands.group.id
EVENT_CHANNEL=events.channel
EVENT_CLIENT_ID=events.client.id
EVENT_GROUP_ID=events.group.id