问题
is there a way to support a scenario where broker is offline so that messages can be stored temporarily in disc and attempt to submit once the broker comes online. This is to provide resilience in scenarios where the broker goes down. I have not found anything in the documentation yet.
回答1:
There isn't anything like this built into MassTransit. If the broker is unavailable, messages cannot be published or sent.
来源:https://stackoverflow.com/questions/63492266/is-there-a-way-to-persist-messages-when-the-broker-is-offline