-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathconfig.yml
123 lines (117 loc) · 2.6 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
type: yml
source:
http_server:
port: 8082
network: "tcp"
write_key_validation_address: "127.0.0.1:8081"
new_event_queue_name: "new-event-received"
write_key_expiration: 120
undelivered_event_retransmit_period: 1
new_source_event_name: "new-source-event"
buffersize: 100
number_instants: 10
maxretry: 5
otel:
endpoint: "otel_collector:4317"
service_name: "source"
enable_metric_expose: true
metric_expose_port: 8081
metric_expose_path: "metrics"
scylla_db_config:
hosts:
- 127.0.0.1:9042
consistency: 4
keyspace: "source"
timeout_cluster: 5s
num_retries: 10
min_retry_delay: 1s
max_retry_delay: 10s
scylladb:
hosts:
- 127.0.0.1:9042
keyspace: ormus
redis:
port: 6379
host: 127.0.0.1
db: 0
password: ""
rabbitmq:
host: "localhost"
port: 5672
password: "guest"
user: "guest"
reconnect_second: 1
vhost: "/"
etcd:
port: 2379
host: 127.0.0.1
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: 127.0.0.1
port: 5672
vhost:
reconnect_second: 5
rabbitmq_task_manager_connection:
user: guest
password: guest
host: 127.0.0.1
port: 5672
redis_task_idempotency:
port: 6379
host: 127.0.0.1
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"
swagger:
expose: true
port: 8081
manager:
version: v0.0.1
host: manager.ormus.local
base_path: /
title: "Ormus: manager API"
description: "API documentation for manager service."
info_instance_name: ormus/manager
source:
version: v0.0.1
host: source.ormus.local
base_path: /
title: "Ormus: source API"
description: "API documentation for source service."
info_instance_name: ormus/source
manager:
application:
http_port: 8080
grpc_port: 8081
internal_broker_config:
channel_size: 100
number_instant: 5
max_retry_policy: 5
auth_config:
secret_key: "Ormus_jwt"
context_key: "user"
access_expiration_time_in_day: 7
refresh_expiration_time_in_day: 28
access_subject: "ac"
refresh_subject: "rt"
scylla_db_config:
hosts:
- 127.0.0.1:9042
consistency: 4 # Quorum
keyspace: "manager"
timeout_cluster: 5s
num_retries: 10
min_retry_delay: 1s
max_retry_delay: 10s