1. Very interesting article. I have done it before but with Spring Cloud Stream (using Spring Boot and RabbitMQ). Do you know what are the advantages of one approach over the other?

    1. Author

      Thanks! Spring Cloud Stream is an abstraction, implementing the pub-sub pattern in a generic way so you can pick the binder later without (in theory) changing much of your code: say RabbitMQ or Kafka. It might be interesting for example for people who are familiar with Spring Integration since it has native integration with it. As an abstraction though, it has also the inconvenient that if you want to use specific features, you have to write vendor-specific code.


This site uses Akismet to reduce spam. Learn how your comment data is processed.