Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/modules/ROOT/pages/quickstart.adoc
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<refresh-scope,Refresh Scope>> 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading