todo for implement scheduler and consumer

This commit is contained in:
mzfarshad 2026-05-05 22:40:51 +03:30
parent ef60a6516d
commit 5f57c9aa44
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
package scheduler
// TODO: implement cron job or scheduler
// To check the expiration time in the MYSQL database and change the shopping cart status to expired
// and clear the cart from the cache

View File

@ -0,0 +1,5 @@
package consumer
// TODO: implement subscriber or consumer
// When the shopping cart is successfully paid
// the service waits for a message in the broker to change the cart status to paid and clear it from the cache.