Questions tagged [spring-cloud-bus]

66 questions
1
vote
2 answers

Spring Config Server does not seem to notify Bus

I am using Spring 2.0.1.RELEASE and have setup all projects (2 services and the cloud config server) with spring-cloud-bus org.springframework.cloud
J_D
  • 3,526
  • 20
  • 31
1
vote
2 answers

Bus Refresh Endpoint not working in spring cloud Finchley.M8

Im using Spring cloud config Finchley.M8 version with Spring boot 2.0.0.RELEASE. I have noticed the /bus/refresh has been changed to /bus-refresh. But whenever I hit the url using post http request, it is not working. Here is a snippet of the…
Mohamed Osama
  • 51
  • 1
  • 1
  • 7
1
vote
1 answer

Spring Cloud Bus not working /bus/refresh call goes to controller and searching mapping in controller and failing

I have configured my application with config server and github supported external config files. It works fine when I am having single instance of my application in cloud foundry. But for multiple instance it is said to implement spring cloud bus to…
1
vote
0 answers

SpringCloud - ConfigServer - RabbitMQ - Client doesn't receive message from ConfigService

I'm trying to make a ConfigServer Remote and Client with Gitlab repository. The ConfigServer receives the notification of push through a Webhooks, but it doesn´t send the message to the client. I run a RabbitMQ with Docker, and I can see in the…
1
vote
1 answer

Spring Cloud Stream - Aggregates

I'm trying to implement the proposed SCS aggregates, but I'm not sure to understand the real purpose of them, as the results I get surprise me. First, Here is the code... The source, a messages provider to be scheduled…
1
vote
2 answers

How Spring Cloud Config Server PUSH plain text files to Config Client Application?

What I have implemented so far are: Spring Cloud Config Server with "native" repo. spring.profiles.active: native spring.cloud.config.server.native.searchLocations: file:/path/to/config-repo Config Server is pushing notification to Config Client…
0
votes
0 answers

How can I pub/sub remote event through more than one topic with Spring Cloud Bus

I'm using Spring Cloud Bus to exchange event among micro-services. By default, it seems that one app(micro-service) ONLY CAN figure one topic. spring: cloud: bus: id: xxx destination: my-topic kafka: 127.0.0.1:9092 Is there any way to config more…
sharajava
  • 31
  • 6
0
votes
0 answers

spring-cloud-starter-bus-kafka dependency replaces consumer message channel

There is services which uses Kafka (by spring-cloud-stream-binder-kafka) in order to exchange messages. Services also uses Spring Config Server. All worked perfectly. I want to add Cloud Bus configurations updates with /monitor. When I added…
0
votes
0 answers

Spring actuator/busrefresh works fine, but trying to use the underlying beans doesn't

I've been quite through a lot of hurdles using spring-cloud-bus in this past month, mainly following the docs here. I finally managed to make it work, but I would like to be able to trigger the bus refresh directly through…
bur
  • 1
  • 2
0
votes
0 answers

Custom subscription configuration for Spring Cloud Config clients

I am trying to setup a Github based Spring Config Cloud Server and Clients. My aim is to configure a webhook from my Github repo that gets to /monitor endpoint which in turn uses spring-cloud-bus (based on GCP PubSub) to propagate that change to…
0
votes
0 answers

Spring Cloud Config & Bus track only one branch

I have a Git repository with 2 branches(main, local), Spring Cloud Config Server(with spring cloud bus), and Spring App (client for config). I want the config server to track changes only on the local branch. I've tried to specify the label in cloud…
0
votes
0 answers

Busrefresh function.definition of busConsumer is being added on wrong property source

We are using Spring Boot 2.7.8 with Spring Cloud Stream 3.2.6 & Spring Cloud 2021.0.5 We are using the functional definition for our Kafka consumers, hence adding the consumers channel names under spring.cloud.function.definition list. Previously…
0
votes
0 answers

Spring Cloud Config Client not refreshing with webhook trigger

I have a Spring Cloud Config Server and Client set up with Spring Cloud Bus. I am using a webhook trigger via the /monitor endpoint on the Config Server to notify the Config Client of any changes. However, when the webhook is triggered, I am seeing…
An Duy
  • 35
  • 1
  • 7
0
votes
1 answer

NoClassDefFoundError: org/springframework/cloud/util/PropertyUtils

I've got a new application and I try to make it working. I upgraded version of spring-boot to 2.7.6 spring-cloud to 3.1.5 and after it I started to receive following error in tests: 13:08:34.679 [main] DEBUG…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
0
votes
0 answers

Spring cloud config client make default value isn't overwrite

Im working with Spring Cloud Config and Spring Cloud Bus, I just want my default config like database connection, kafka connection... in Client isn't overwrite even if the Server have that config. How can I do that? sorry for my bad English, thank…
An Duy
  • 35
  • 1
  • 7