Open dsyer opened 6 years ago
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:
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.
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.
@venkatnpedada that doesn't really make any sense to me. Why would you need a config server embedded in an integration test?
@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.
So, how to use embed the config server with webflux? I have same problem.
Not currently possible
do you have any updates on this?
No, when there is, you will see assignments to projects and milestones.
This is our use case at the moment, too. We ship webflux web-application with embed config server.
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.
Add a reaction to the very first comment
It is currently impossible to embed a spring cloud config server in a gateway as long as it isn't resolved..
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.
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.