Reputation: 11
Let me explain my problem using an example,
When property file get changed, to make it immediately effect to the all running instances, we can use spring-cloud-bus,
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
</dependency>
and use postman tool to refresh all instances of "notification-service" at once.
The thing i want to know is are there any way to do this using kafka instead of spring cloud bus?
Upvotes: 1
Views: 999
Reputation: 192023
Maybe you're looking for this?
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-stream-kafka</artifactId>
<version>2.1.0.RELEASE</version>
</dependency>
And it's called Spring Cloud Stream
Upvotes: 1