The easiest way to publish a message is to use a Broker, which allows you to use it as a publisher client in any applications.
In the FastStream project, this call is not represented in the AsyncAPI scheme. You can use it to send rarely-publishing messages, such as startup or shutdown events.
Pros and Cons
Easy to use - Publishing messages in FastStream is intuitive and requires minimal effort.
Broker availability from Context - You can leverage FastStream'sContext, a built-in Dependency Injection (DI) container, to work with brokers or other external services.
No AsyncAPI support - AsyncAPI is a specification for describing asynchronous APIs used in messaging applications. This method currently does not support this standard.
No testing support - This method lacks full Testing support.