i want to implement the request-reply pattern for microservices communication using RabbitMQ. However, the issue is that every internal call creates a new queue, and by default, the queue size in RabbitMQ is 30MB. In your architecture, there are 600 internal calls, so: 600 * 30 MB = 18000 MB = 1.8 GB
Is it a best practice to create that many queues?
so how i can avoid that much queue.
You can look into using an
amq.rabbitmq.reply-toinstead: https://docs.spring.io/spring-amqp/reference/amqp/request-reply.html#direct-reply-to