add new config for consumer

This commit is contained in:
Denis Savosin
2024-10-02 16:56:40 +07:00
parent 722535c9db
commit ace8f8eb2c
2 changed files with 14 additions and 0 deletions

View File

@@ -20,3 +20,7 @@ kafka:
producer: producer:
product: product:
default-sync-topic: demo-product-sync default-sync-topic: demo-product-sync
consumer:
group-id: demo-consumer
topics: demo-city-sync
auto-startup: false

View File

@@ -8,3 +8,13 @@ spring:
jpa: jpa:
hibernate: hibernate:
ddl-auto: create ddl-auto: create
kafka:
bootstrap-servers: localhost:1234
producer:
product:
default-sync-topic: demo-product-sync
consumer:
group-id: demo-consumer
topics: demo-city-sync
auto-startup: false