-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrental-service-dev.yml
38 lines (38 loc) · 972 Bytes
/
rental-service-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
eureka:
client:
fetchRegistry: true
registerWithEureka: true
serviceUrl:
defaultZone: http://localhost:9001/eureka
instance:
instance-id: ${spring.application.name}:${instanceId:${random.value}}
preferIpAddress: true
server:
port: 0
spring:
application:
name: rental-service
datasource:
password: 12345
url: jdbc:postgresql://localhost:5432/rentacarrentaldb
username: postgres
jpa:
hibernate:
ddl-auto: update
show-sql: true
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
javax:
persistence:
validation:
mode: none
kafka:
producer:
bootstrap-servers: localhost:9092
key-serializer: org.apache.kafka.common.serialization.StringSerializer
value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
topic:
name: rental_topics5
zipkin:
base-url: http://localhost:9411