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. The only implementation currently is with an AMQP broker as the transport, but the same basic feature set (and some more depending on the transport) is on the roadmap for other transports.
总线
/bus/refresh
端点
kafka
1 |
|
1 |
|
topic:springCloudBus
RabbitMQ
1 |
|
指定范围刷新
使用destination参数,基于PathMatcher匹配实例名,例如:
1 |
|