Spring Cloud Bus


Spring Cloud Bus links nodes of a distributed system with a lightweight message broker. This can then be used to broadcast state changes (e.g. configuration changes) or other management instructions. AMQP and Kafka broker implementations are included with the project. Alternatively, any Spring Cloud Stream binder found on the classpath will work out of the box as a transport.

Getting Started

As long as Spring Cloud Bus AMQP and RabbitMQ are on the classpath any Spring Boot application will try to contact a RabbitMQ server on localhost:5672 (the default value of spring.rabbitmq.addresses):

public class Application {

  public String home() {
    return "Hello World";

  public static void main(String[] args) {, args);


Spring Boot Config

Spring Initializr

Quickstart Your Project

Bootstrap your application with Spring Initializr.


Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
3.0.0-M3 PRE CURRENT Reference Doc. API Doc.
3.0.0.M1 PRE Reference Doc. API Doc.
2.1.4.RELEASE GA Reference Doc. API Doc.

A few examples to try out: