First of all, excuse my English, it's very bad. I am using MassTransit with Azure Service Bus for asynchronous communication between microservices. I have some doubts about the default configuration of masstransit together with azure service bus, but I have not been able to clarify them in the documentation. These doubts are the following:
Is there a way to set a default TTL for all queues and topics? And a size for the queues and topics? The documentation specifies that the TTL and the size of the queues can be adjusted when the receiver is connected / created, but on the other hand, regarding the topics, it is specified how to adjust the TTL if the consumer connects to a specific topic, however in this case our consumers do not subscribe to a specific topic, but simply to a messageType, and Masstransit does the rest (creates the topic, the subscriber and forwards the message from the subscriber to the consumer's queue).
On the other hand, what are the default values of PrefetchCount and MaxConcurrentCalls? And some optimal values to obtain the highest performance considering that consumers have horizontal scaling (competing consumer)? From what I have read in other questions, the PrefetchCount and MaxConcurrentCalls values must be close to each other to optimize performance, is that correct?
Thank you very much.
Regards