From 55962fa7bc44013892862b7737d52d85a5ef3ddd Mon Sep 17 00:00:00 2001 From: Syrine Date: Fri, 27 Dec 2024 21:20:15 +0100 Subject: [PATCH] changed inventory event topic --- pricing/src/main/resources/application.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pricing/src/main/resources/application.properties b/pricing/src/main/resources/application.properties index 57f56ec5..07f96d24 100644 --- a/pricing/src/main/resources/application.properties +++ b/pricing/src/main/resources/application.properties @@ -2,7 +2,7 @@ spring.application.name=pricing server.port=8086 -spring.datasource.url=jdbc:postgresql://localhost:5432/db_pricing +spring.datasource.url=jdbc:postgresql://localhost:5439/db_pricing spring.datasource.username=postgres spring.datasource.password=azerty spring.datasource.driver-class-name=org.postgresql.Driver @@ -23,7 +23,7 @@ spring.kafka.bootstrap-servers=localhost:9092 spring.kafka.consumer.group-id=pricing-service spring.kafka.consumer.auto-offset-reset=earliest -spring.kafka.topic.inventory-topic=product-availability +spring.kafka.topic.inventory-topic=product-created-id spring.kafka.topic.price-update-topic=product-price-update