Questions tagged [spring-cloud-bus]

66 questions
2
votes
0 answers

Spring boot application startup hangs on line "started bean '_org.springframework.integration.errorLogger'"

I've decided spring cloud config + spring cloud bus. So I've implemented config server first: full code base could be found here: https://github.com/gredwhite/config-server-demo But when I try to start it locally am not able to start the…
2
votes
1 answer

How to refresh app instances using Spring cloud bus with data which isn't controlled by config server?

I'm trying to use Spring cloud bus with Kafka in my microservices application, and indeed I could use it, but only data which is controlled by Spring cloud config server got refreshed! I'm using jdbc back-end with my config server, and in order to…
Mohamed Sweelam
  • 1,109
  • 8
  • 22
2
votes
0 answers

How to indicate profile in actuator/bus-refresh request whit spring cloud bus

My environment: spring-cloud:Finchley.SR2 spring-cloud-starter-bus-amqp or spring-cloud.starter-bus-roketmq spring-cloud-config-server / client there is two project - config-server and client named Gateway(spring.application.name). i test it in…
2
votes
1 answer

Spring Cloud Bus with aws-kinesis

In the documentation of Spring Cloud Bus (https://github.com/spring-cloud/spring-cloud-bus) it was mentioned like The Bus starters cover Rabbit and Kafka, because those are the two most common implementations, but Spring Cloud Stream is quite…
utpal416
  • 899
  • 5
  • 15
2
votes
2 answers

Spring Cloud Bus, how to specify multiple destination in /bus/refresh?destination=?

I have a config server that using Spring Cloud Config and Spring Cloud Bus and some clients that also have Spring Cloud Bus. Each time I change the config, I use postman to send /bus/refresh to the config server. I found two ways to do…
2
votes
3 answers

Spring Cloud Config + Spring Cloud Bus + RabbitMQ - Not auto refreshing clients with local Git repository

I have some applications getting its configuration from a Spring Cloud Config Server (Brixton.RELEASE) and would like to enable the auto refresh of its properties. I have followed Spring Cloud Config documentation to configure both the server and…
codependent
  • 23,193
  • 31
  • 166
  • 308
1
vote
0 answers

Spring cloud bus/kafka : org.springframework.beans.factory.BeanCreationNotAllowedException on application shutdown

We intend to use spring-cloud-bus with kafka as a binder in order to notify the services after configuration changes. All works fine but we have this following exception during service shutdown : WARN 48116 --- [extShutdownHook]…
1
vote
2 answers

io.grpc.StatusRuntimeException: PERMISSION_DENIED: User not authorized to perform this action

I try to implement simple example of spring cloud config + spring cloud bus. So I've implemented Client server application Config server application and in the separated repository I've put application.properties file. Looks like everything is…
1
vote
0 answers

Spring cloud config returns old configutaion

I'm using spring cloud config together with spring cloud bus. I set up a webhook from my git repository (hosted in bitbucket) to notify the config server when a push occurs. In order to reduce throughput and use a minimal caching I set the refresh…
Yuval
  • 764
  • 1
  • 9
  • 23
1
vote
1 answer

Spring Cloud Bus event ( RemoteApplicationEvent ) not being published to Kafka

I am using spring cloud bus to publish event to kafka so that another instance can listen the same event . Event is being triggered but not being published to kafka . I am using spring cloud bus with spring cloud stream . version : Spring Boot :…
1
vote
0 answers

Refreshing Spring Cloud Config without Queue

When Spring Cloud Config is in use, changes of configuration from GIT are read only during startup of microservice. It's also possible to manually call /actuator/refresh endpoint, when you use Actuator. Example to propagate such changes in realtime…
1
vote
0 answers

Spring Cloud Config (Server) Monitor does not send events to clients via RabbitMQ

I'm using Spring Boot / 2.1.0.RELAESE and Spring Cloud Dependencies / Greenwich.M3, consider the following projects, with the following dependencies: https://github.com/dnijssen/configuration https://github.com/dnijssen/configurationclient,…
Dennis Nijssen
  • 165
  • 1
  • 2
  • 8
1
vote
0 answers

SpringCloud-Bus does not refresh using webhook client

SpringCloud uses spring-cloud-config-monitor to automatically refresh the configuration of the message bus. It uses the webhook of github. After each update configuration is completed, the result of the request is: github webhook response,However,…
licoycn
  • 11
  • 3
1
vote
1 answer

Spring bus rabbit amqp client drops connection on idle for long time

**Versions** RabbitMQ 3.6.14. (using docker image rabbitmq:3.6.14-management-alpine) Java 1.8 spring-cloud-starter-bus-amqp => 1.3.1.RELEASE Spring boot parent => 1.5.9.RELEASE I have rabbitmq setup with spring boot services using the amqp…
turbocoder
  • 33
  • 1
  • 8
1
vote
2 answers

Set zookeeper host and port for spring-cloud-bus

I have a project with spring-cloud-starter-bus-kafka and I set the kafka URL inside application.yml like so: spring.kafka.bootstrap-servers=localhost:9092 This works find when kafka and zookeeper are deployed locally, but if I move kafka and…