forked from Loopers-dev-lab/loop-pack-be-l2-vol2-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.yml
More file actions
72 lines (63 loc) · 1.34 KB
/
Copy pathapplication.yml
File metadata and controls
72 lines (63 loc) · 1.34 KB
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
server:
shutdown: graceful
tomcat:
threads:
max: 200 # 최대 워커 스레드 수 (default : 200)
min-spare: 10 # 최소 유지 스레드 수 (default : 10)
connection-timeout: 1m # 연결 타임아웃 (ms) (default : 60000ms = 1m)
max-connections: 8192 # 최대 동시 연결 수 (default : 8192)
accept-count: 100 # 대기 큐 크기 (default : 100)
keep-alive-timeout: 60s # 60s
max-http-request-header-size: 8KB
spring:
main:
web-application-type: servlet
application:
name: commerce-streamer
profiles:
active: local
kafka:
topic:
product-detail-viewed: product-detail-viewed.v1
product-out-of-stock: product-out-of-stock.v1
payment-completed: payment-completed.v1
config:
import:
- jpa.yml
- redis.yml
- kafka.yml
- logging.yml
- monitoring.yml
http-client:
pg-simulator:
url: http://localhost:8082
path: /api/v1/payments
pg:
callback:
url: http://localhost:8080/api/v1/payments/callback
demo-kafka:
test:
topic-name: demo.internal.topic-v1
---
spring:
config:
activate:
on-profile: local, test
---
spring:
config:
activate:
on-profile: dev
---
spring:
config:
activate:
on-profile: qa
---
spring:
config:
activate:
on-profile: prd
springdoc:
api-docs:
enabled: false