瀏覽代碼

host update

yassine 1 年之前
父節點
當前提交
3a8134f9fe
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2
    2
      account.yml
  2. 2
    2
      customer.yml

+ 2
- 2
account.yml 查看文件

@@ -15,13 +15,13 @@ spring:
15 15
     show-sql: true
16 16
   kafka:
17 17
     consumer:
18
-      boostrap-servers: kafka:9092
18
+      boostrap-servers: localhost:9092
19 19
       group-id: account-consumer
20 20
       auto-offset-reset: earliest
21 21
       key-deserialize: org.apache.kafka.common.serialization.StringDeserializer
22 22
       value-deserialize: rg.apache.kafka.common.serialization.StringDeserializer
23 23
     producer:
24
-      boostrap-servers: kafka:9092
24
+      boostrap-servers: localhost:9092
25 25
       key-deserialize: org.apache.kafka.common.serialization.StringDeserializer
26 26
       value-deserialize: org.apache.kafka.common.serialization.StringDeserializer
27 27
 

+ 2
- 2
customer.yml 查看文件

@@ -15,13 +15,13 @@ spring:
15 15
     show-sql: true
16 16
   kafka:
17 17
     consumer:
18
-      boostrap-servers: kafka:9092
18
+      boostrap-servers: localhost:9092
19 19
       group-id: customer-consumer
20 20
       auto-offset-reset: earliest
21 21
       key-deserialize: org.apache.kafka.common.serialization.StringDeserializer
22 22
       value-deserialize: rg.apache.kafka.common.serialization.StringDeserializer
23 23
     producer:
24
-      boostrap-servers: kafka:9092
24
+      boostrap-servers: localhost:9092
25 25
       key-deserialize: org.apache.kafka.common.serialization.StringDeserializer
26 26
       value-deserialize: org.apache.kafka.common.serialization.StringDeserializer
27 27
 

Powered by TurnKey Linux.