Files
bookRental/target/classes/application.yml
Juyounglee95 8ab6d253d8 init
2020-04-22 13:39:41 +09:00

65 lines
1.5 KiB
YAML

server:
port: 8080
---
spring:
profiles: default
jpa:
properties:
hibernate:
show_sql: true
format_sql: true
cloud:
stream:
kafka:
binder:
brokers: localhost:9092
streams:
binder:
configuration:
default:
key:
serde: org.apache.kafka.common.serialization.Serdes$StringSerde
value:
serde: org.apache.kafka.common.serialization.Serdes$StringSerde
bindings:
event-in:
group: bookRental
destination: library
contentType: application/json
event-out:
destination: library
contentType: application/json
logging:
level:
org.hibernate.type: trace
org.springframework.cloud: debug
server:
port: 8082
---
spring:
profiles: docker
cloud:
stream:
kafka:
binder:
brokers: my-kafka.kafka.svc.cluster.local:9092
streams:
binder:
configuration:
default:
key:
serde: org.apache.kafka.common.serialization.Serdes$StringSerde
value:
serde: org.apache.kafka.common.serialization.Serdes$StringSerde
bindings:
event-in:
group: bookRental
destination: library
contentType: application/json
event-out:
destination: library
contentType: application/json