shop-golang-microservices
shop-golang-microservices copied to clipboard
Problem with consuming the ProductCreated event in inventory_service
Hello,
I'm using your project as a study due to the organization and of all the ones I analyzed, yours is the best.
However, there is this problem that when trying to create a product, inventory receives the event and processes it, but when trying to create another product afterwards it does nothing.
I already tried to fix it but I couldn't.
Could you help me, please?
Hello,
I'm using your project as a study due to the organization and of all the ones I analyzed, yours is the best.
However, there is this problem that when trying to create a product, inventory receives the event and processes it, but when trying to create another product afterwards it does nothing.
I already tried to fix it but I couldn't.
Could you help me, please?
Hi, Thanks for reaching me out. I think it's related to RabbitMQ mechanism and I think we have a bug in RabbitMQ consumer in building block. I use topic exchange for deliver message to consumer and my guess there is a problem here. You can try it here for finding bug and maybe use another exchange like fanout fix the problem. Unfortunately, currently I am a little busy and don't have time to fix the problem now. Feel free to contribute this problem :)