Questions tagged [spring-cloud-bus]
66 questions
5
votes
1 answer
What is the difference between springcloud-stream and springcloud-bus?
What are the differences between them?
Is springcloud-stream one of the instantiations of springcloud-bus?
As I know, both of them concern about MQ.

GGG
- 51
- 3
5
votes
0 answers
Spring Cloud Bus - Client does not receive changes
I think I am in a dead-end regarding an implementation of Spring Cloud Bus with RabbitMQ.
Please keep in mind that this is done via Spring Boot 2.0.0.M7 and Spring Cloud Finchley.M5 which should be compatible according to their release notes.
I am…

Dan
- 106
- 10
5
votes
5 answers
Enabling /bus/refresh endpoint in Spring Cloud Config Client
My Spring Cloud Config Client has dependency to spring.cloud.starter.bus.amqp, but it is still not enabling /bus/refresh endpoint
build.gradle
compile("org.springframework.cloud:spring-cloud-starter-stream-rabbit:1.1.3.RELEASE") …

HHS
- 53
- 1
- 1
- 4
4
votes
1 answer
Spring Cloud Bus/Stream Issues in Spring Cloud 2020.0.0
We have a Spring Boot Microservice that as well as having HTTP endpoints uses Spring Cloud Bus to pick up refresh events (from rabbit) and also has a Spring Cloud Stream Sink that picks up custom messages from another rabbit topic.
After updating to…

David Geary
- 1,756
- 2
- 14
- 23
4
votes
0 answers
o.s.cloud.stream.binding.Binding Service : Failed to create producer binding
I am trying build spring config client in clustered env, for this to achieve I am using kafka to connect between clients. My client project works with local kafka server but when I try to connect to my remote kafka server application do not start up…

Nag
- 41
- 1
4
votes
4 answers
Problems spring-cloud-config and spring-cloud-bus
I have three applications ,one is spring-cloud-config server point and others are spring-cloud-config client points. I configured spring-cloud-bus in each other to make my client points auto refresh changed but in my application running ,I got a…

ming
- 41
- 1
- 4
3
votes
1 answer
Reload CamelContext or routes on spring cloud config update
I am using camel 3.1.0 with spring boot 2.2.6. I have externalise configuration and spring cloud bus is being used to read config data from Git.
When I start application, it gets the the config (properties) from git via spring cloud bus, but when I…

trilok
- 43
- 4
3
votes
1 answer
Communication of microservices at deleting an object
Our application consists of microservices. In my side, before deleting an something, it may be used in another microservice . Therefore I need to ask another microservice that the something is used in your side. To do that, I send an event with…

ugur
- 400
- 6
- 20
3
votes
1 answer
Spring Cloud Bus fails to recover after network outage
I have a Spring Cloud Stream application using RabbitMQ binder, built on Spring Boot 1.5 and Spring Cloud Edgware.SR4. For some reason, Spring Cloud Bus fails to recover from a
network outage that lasts at least 30 seconds (duration may depend on…

Nick
- 31
- 4
3
votes
1 answer
Spring Cloud Binder: mitigating cost of double bootstrap
We use Spring Cloud Config (Dalston.SR5), with Cloud clients using Spring Boot 2.x, Spring Cloud Bus, and Finchley.SR1.
I understand from this answer why a Cloud Client application bootstraps with Config for the parent SpringBootApplication and then…

Andrew Regan
- 5,087
- 6
- 37
- 73
3
votes
2 answers
Why Spring Boot Application logs that it started twice after adding spring-cloud-bus dependency
This is simple code in my Spring boot application:
package com.maxxton.SpringBootHelloWorld;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public…

SanketKD
- 1,509
- 2
- 9
- 12
2
votes
1 answer
Spring Cloud Bus does not longer support POST requests to /actuator/bus-refresh
I've found out that Spring Cloud Bus does not support POST requests to /actuator/bus-refresh on Spring Cloud version 2020.0.0. When I try to send it, I recieve 405 "Method Not Allowed". Is there any way to automatically refresh all my client…

riezenmark
- 23
- 3
2
votes
1 answer
Multiple instance with Spring Cloud Bus Kafka
My question is how to manage the multi instance with Spring Cloud Stream Kafka.
Let me explain, in a Spring Cloud Stream Microservices context (eureka, configserver, kafka) I want to have 2 instances of the same microservice. When I change a…

Rtrompier
- 113
- 1
- 6
2
votes
2 answers
Getting "Method Not Allowed" error when POST /actuator/bus-refresh in Spring Cloud Bus
I'm using Spring Cloud Bus and RabbitMQ to broadcast configuration changes to some microservices, but when I hit POST request to http://localhost:8888/actuator/bus-refresh I'm getting an error "Method Not Allowed", as below:
HTTP/1.1 405
Allow:…

Mahmoud SabahAllah
- 57
- 6
2
votes
1 answer
Spring cloud config client shutdown just after startup
I've implemented simple application to understand how spring cloud config for client.
It is just contains 2 classes:
Main:
@SpringBootApplication
public class ClientApplication {
public static void main(String[] args) {
…

gstackoverflow
- 36,709
- 117
- 359
- 710