There's no real benefit in using webflux, but it might be possible to embed the config server in a webflux app, in principle at least.
Comment From: dharezlak
This is exactly our use case at the moment. We would like to have a config server which exposes a small REST API (webflux) to modify the provided configuration (JDBC-based). The API will be used by a web configuration panel so :+1:
Comment From: spencergibb
You know there's no official spring supported non-blocking relational db access yet (jdbc will never be non-blocking)? Things are in the works though.
Comment From: venkatnpedada
We are trying to use cloud config server dependency in a webflux app to run the integration test cases independent of cloud config server. This enhancement will help to handle this situation.
Comment From: dsyer
@venkatnpedada that doesn't really make any sense to me. Why would you need a config server embedded in an integration test?
Comment From: venkatnpedada
@dsyer In my case, I am pulling application properties directly from git server instead of a cloud config server. This will allow me to run integration test cases without depending on a config server to pull the application properties.
Comment From: hard-working-boy
So, how to use embed the config server with webflux? I have same problem.
Comment From: spencergibb
Not currently possible
Comment From: sgornostal
do you have any updates on this?
Comment From: spencergibb
No, when there is, you will see assignments to projects and milestones.
Comment From: gdomo
This is our use case at the moment, too. We ship webflux web-application with embed config server.
Comment From: krispanalov
Is there a way to vote for this topic. In our case we want to have all our services written with webflux and so are our libs. Now we will need to support both of them.
Comment From: spencergibb
Add a reaction to the very first comment
Comment From: dlicois
It is currently impossible to embed a spring cloud config server in a gateway as long as it isn't resolved..
Comment From: jgcollings
I would also like to embed config server in my webflux cloud gateway. I don't want to host a separate config server. When I attempt to include the spring-cloud-config-server dependency it adds webmvc to the class path and breaks everything. Adding my vote to fix this.