|
@@ -15,13 +15,13 @@ spring:
|
15
|
15
|
show-sql: true
|
16
|
16
|
kafka:
|
17
|
17
|
consumer:
|
18
|
|
- boostrap-servers: localhost:9092
|
|
18
|
+ boostrap-servers: kafka: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: localhost:9092
|
|
24
|
+ boostrap-servers: kafka:9092
|
25
|
25
|
key-deserialize: org.apache.kafka.common.serialization.StringDeserializer
|
26
|
26
|
value-deserialize: org.apache.kafka.common.serialization.StringDeserializer
|
27
|
27
|
|