Skip to content

Commit

Permalink
application.yml 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
longsawyer committed May 20, 2021
1 parent f7224e3 commit c5027d3
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions Order/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
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: Order
destination: purifierrentalpjt
contentType: application/json
event-out:
destination: purifierrentalpjt
contentType: application/json

logging:
level:
org.hibernate.type: trace
org.springframework.cloud: debug
server:
port: 8081
---

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: Order
destination: purifierrentalpjt
contentType: application/json
event-out:
destination: purifierrentalpjt
contentType: application/json

0 comments on commit c5027d3

Please sign in to comment.