diff --git a/docs/modules/ROOT/pages/quickstart.adoc b/docs/modules/ROOT/pages/quickstart.adoc index b3b58d9d..bbe5b050 100644 --- a/docs/modules/ROOT/pages/quickstart.adoc +++ b/docs/modules/ROOT/pages/quickstart.adoc @@ -1,14 +1,14 @@ [[spring-cloud-gateway-quickstart]] = Quickstart -Spring Cloud Bus works by adding Spring Boot autconfiguration if it detects itself on the +Spring Cloud Bus works by adding Spring Boot autoconfiguration if it detects itself on the classpath. To enable the bus, add `spring-cloud-starter-bus-amqp` or `spring-cloud-starter-bus-kafka` to your dependency management. Spring Cloud takes care of the rest. Make sure the broker (RabbitMQ or Kafka) is available and configured. When running on localhost, you need not do anything. For information about configuring the broker, see the Spring Cloud Stream documentation for -https://docs.spring.io/spring-cloud-stream/reference/rabbit/rabbit_overview.html[RabbitMQ] -or https://docs.spring.io/spring-cloud-stream/reference/kafka/kafka_overview.html[Kafka]. +https://docs.spring.io/spring-cloud-stream/reference/{spring-cloud-version}/rabbit/rabbit_overview.html[RabbitMQ] +or https://docs.spring.io/spring-cloud-stream/reference/{spring-cloud-version}/kafka/kafka_overview.html[Kafka]. The bus currently supports sending messages to all nodes listening or all nodes for a particular service (as defined by Eureka). The `/bus*` actuator namespace has some HTTP diff --git a/docs/modules/ROOT/pages/spring-cloud-bus/bus-endpoints.adoc b/docs/modules/ROOT/pages/spring-cloud-bus/bus-endpoints.adoc index 51089b92..902480d4 100644 --- a/docs/modules/ROOT/pages/spring-cloud-bus/bus-endpoints.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-bus/bus-endpoints.adoc @@ -9,7 +9,7 @@ that correspond to individual actuator endpoints in Spring Cloud Commons, [[bus-refresh-endpoint]] == Bus Refresh Endpoint The `/actuator/busrefresh` endpoint clears the `RefreshScope` cache and rebinds -`@ConfigurationProperties`. See the <> documentation for +`@ConfigurationProperties`. See the https://docs.spring.io/spring-cloud-commons/reference/{spring-cloud-version}/spring-cloud-commons/application-context-services.html#refresh-scope[Refresh Scope] documentation for more information. To expose the `/actuator/busrefresh` endpoint, you need to add following configuration to your diff --git a/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/SentApplicationEvent.java b/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/SentApplicationEvent.java index 622c9bb2..130b7f65 100644 --- a/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/SentApplicationEvent.java +++ b/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/SentApplicationEvent.java @@ -27,7 +27,7 @@ * generated locally (possibly in response to a remote event). Applications that want to * audit remote events can listen for this one and the {@link AckRemoteApplicationEvent} * from all the consumers (the {@link #getId() id} of this event is the - * {@link AckRemoteApplicationEvent#getAckId() ackId} of the corresponding ACK. + * {@link AckRemoteApplicationEvent#getAckId() ackId} of the corresponding ACK). * * @author Dave Syer */ diff --git a/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/ShutdownListener.java b/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/ShutdownListener.java index 4370e1da..2866a538 100644 --- a/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/ShutdownListener.java +++ b/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/ShutdownListener.java @@ -44,7 +44,7 @@ public ShutdownListener(ServiceMatcher serviceMatcher) { @Override public void onApplicationEvent(ShutdownRemoteApplicationEvent event) { if (serviceMatcher.isForSelf(event)) { - LOG.warn("Received remote shutdown request from " + event.getOriginService() + ". Shutting down."); + LOG.warn("Received remote shutdown request from " + event.getOriginService() + ". Shutting down."); shutdown(); } else {