spring-cloud / spring-cloud-bus

Spring Cloud event bus
http://cloud.spring.io/spring-cloud-bus/
Apache License 2.0
409 stars 242 forks source link

Bus Refresh Returns Empty Keys in Logs Despite Client Property Update - RefreshListener: Keys refreshed [] #276

Open devlucasrezende opened 2 months ago

devlucasrezende commented 2 months ago

Hi, I have a small project (link below) using Spring Cloud Config (version 2023.0.3 - Walnut).

This project has two modules:

When I update any property in the database and call the /actuator/busrefresh endpoint, the client properties update correctly, but the server logs show an empty array.

Sample:

In this project, I’m using the JDBC strategy with Kafka for the bus refresh. Everything is explained in the README file.

https://github.com/devlucasrezende/spring-cloud-config