run-aspnetcore-microservices
                                
                                 run-aspnetcore-microservices copied to clipboard
                                
                                    run-aspnetcore-microservices copied to clipboard
                            
                            
                            
                        RabbitMQ exchange type is fanout
Even we are using topic exchange model which is pub/sub pattern implementation. It seems fanout on RabbitMQ when send basketcheckout event to queue in the RabbitMQ Dashboard. Need to investigate - udemy -128
Hi Mehmet, do you have some update on this issue ? I'm struggling to find out why the exchange type is fanout when I've explicitly set it to be Direct exchange.
Hi all,
Everything looks ok. All exchange type is set to fanout default on Masstransit. You have to override them, If you need to change them.
messages --> EventBus.Messages.Events:BasketCheckoutEvent --> basketcheckout-queue --> basketcheckout-queue
What's your plan? topic or direct and whats the routing key ?
You can take a look at this;
In Publisher (Basket.Api):
cfg.Publish<BasketCheckoutEvent>(c => { c.ExchangeType = "direct"; })
In Subs (Ordering.Api):
c.Bind<BasketCheckoutEvent>(c => { c.ExchangeType = "direct"; })
*BTW I didn't watch the course.
Thanks for sharing this. we will set a topic exchange model so I will set the exchangetype as a topic.