-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstock-dev.yml
57 lines (57 loc) · 1.29 KB
/
stock-dev.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
eureka:
client:
fetchRegistry: true
registerWithEureka: true
serviceUrl:
defaultZone: http://discoveryserver:9001/eureka
instance:
instance-id: ${spring.application.name}:${instanceId:${random.value}}
prefer-ip-address: true
server:
port: 0
spring:
application:
name: stock
datasource:
password: 12345
url: jdbc:postgresql://rentacarinventory:5437/rentacarinventorydb
username: postgres
jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
javax:
persistence:
validation:
mode: none
show-sql: true
kafka:
consumer:
auto-offset-reset: earliest
bootstrap-servers: localhost:9092
group-id: inventory2
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
properties:
spring:
json:
trusted:
packages: '*'
value-deserializer: org.springframework.kafka.support.serializer.JsonDeserializer
topic:
name: rental_topics2
management:
endpoint:
metrics:
enabled: true
prometheus:
enabled: true
endpoints:
web:
exposure:
include: '*'
metrics:
export:
prometheus:
enabled: true