forked from ormushq/ormus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
62 lines (57 loc) · 1.21 KB
/
config.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
type: yml
source:
http_server:
port: 8090
network: "tcp"
scylladb:
hosts:
- 127.0.0.1:9042
keyspace: ormus
redis:
port: 6379
host: redis
db: 0
password: ""
etcd:
port: 2379
host: etcd
dial_timeout: 5
destination:
debug_mode: true
consumer_topic: "pe.#" # pe stands for processed event. and # substitute for zero or more words.
rabbitmq_consumer_connection:
user: guest
password: guest
host: rabbitmq
port: 5672
vhost:
reconnect_second: 5
rabbitmq_task_manager_connection:
user: guest
password: guest
host: rabbitmq
port: 5672
redis_task_idempotency:
port: 6379
host: redis
db: 0
password: ""
prefix: "destination-task-status::"
expiration: 0
otel:
endpoint: "otel_collector:4317"
service_name: "destination"
enable_metric_expose: true
metric_expose_port: 8081
metric_expose_path: "metrics"
manager:
internal_broker_config:
channel_size: 100
number_instant: 5
max_retry_policy: 5
jwt_config:
secret_key: "Ormus_jwt"
access_expiration_time_in_day: 604800 # 7 * 24 * 3600
refresh_expiration_time_in_day: 2419200 # 28 * 24 * 3600
access_subject: "ac"
refresh_subject: "rt"