Ver código fonte

account kafka plug

yassine 1 ano atrás
pai
commit
4660d89ec8
1 arquivos alterados com 11 adições e 0 exclusões
  1. 11
    0
      account.yml

+ 11
- 0
account.yml Ver arquivo

@@ -13,6 +13,17 @@ spring:
13 13
     hibernate:
14 14
       ddl-auto: update
15 15
     show-sql: true
16
+  kafka:
17
+    consumer:
18
+      boostrap-servers: 9092
19
+      group-id: account-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
16 27
 
17 28
 management:
18 29
   endpoints:

Powered by TurnKey Linux.