add kafka producer, move configs to separate package

This commit is contained in:
Denis Savosin
2024-10-02 10:32:55 +07:00
parent 1fa8b7051e
commit cbf7e0a5f6
15 changed files with 186 additions and 15 deletions

View File

@@ -13,4 +13,10 @@ spring:
enabled: true # enables flyway database migration
locations: classpath:db/migration/structure, classpath:db/migration/data # the location where flyway should look for migration scripts
validate-on-migrate: true
default-schema: public
default-schema: public
kafka:
bootstrap-servers: localhost:9095
producer:
product:
default-sync-topic: demo-product-sync