-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
37 lines (37 loc) · 1019 Bytes
/
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
app: "purchase"
ginMode: "debug"
httpPort: 80
promPort: 8080
jaegerUrl: ""
natsConfig:
clusterID: "test-cluster"
url: "nats://127.0.0.1:4222"
# will be randomly generated if not specified
clientID: ""
subscriber:
# should not have queue group to avoid message loss when running multiple replicas
queueGroup: ""
# no need durability; default subscription options are used
# which is to receive new messages only
# (messages published after the subscription is registered in the cluster)
durableName: ""
# should be set to one to avoid duplication
count: 1
redisConfig:
addrs: "127.0.0.1:7000"
password: "pass.123"
db: 0
poolSize: 10
maxRetries: 3
expirationSeconds: 900
subscriber:
# will be randomly generated if not specified
consumerID: ""
# should not have consumer group to avoid message loss when running multiple replicas
consumerGroup: ""
rpcEndpoints:
authSvcHost: ""
productSvcHost: ""
serviceOptions:
rps: 100
timeoutSecond: 10