Browse Source

add customer config

yassine 1 year ago
commit
b729b7950e
1 changed files with 26 additions and 0 deletions
  1. 26
    0
      customer.yml

+ 26
- 0
customer.yml View File

1
+server:
2
+  port: 8081
3
+
4
+spring:
5
+  application:
6
+    name: customer
7
+  datasource:
8
+    url: jdbc:mysql://localhost:3307/customer
9
+    username: natan
10
+    password: NATAN23
11
+  jpa:
12
+    database-platform: org.hibernate.dialect.MySQLDialect
13
+    hibernate:
14
+      ddl-auto: update
15
+    show-sql: true
16
+  kafka:
17
+    consumer:
18
+      boostrap-servers: 9092
19
+      group-id: customer-consumer
20
+      auto-offset-reset: earliest
21
+      key-deserialize: org.apache.kafka.common.serialization.StringDeserializer
22
+      value-deserialize: rg.apache.kafka.common.serialization.StringDeserializer
23
+    producer:
24
+      boostrap-servers: 9092
25
+      key-deserialize: org.apache.kafka.common.serialization.StringDeserializer
26
+      value-deserialize: org.apache.kafka.common.serialization.StringDeserializer

Powered by TurnKey Linux.