Comments on: Reactive Microservices with Spring WebFlux and Spring Cloud https://piotrminkowski.com/2018/05/04/reactive-microservices-with-spring-webflux-and-spring-cloud/ Java, Spring, Kotlin, microservices, Kubernetes, containers Tue, 20 Oct 2020 14:06:46 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: Piotr Mińkowski https://piotrminkowski.com/2018/05/04/reactive-microservices-with-spring-webflux-and-spring-cloud/#comment-508 Fri, 13 Jul 2018 11:49:04 +0000 https://piotrminkowski.wordpress.com/?p=6475#comment-508 In reply to Marco Giglione.

Hi Marco,
Ok 🙂

]]>
By: Marco Giglione https://piotrminkowski.com/2018/05/04/reactive-microservices-with-spring-webflux-and-spring-cloud/#comment-507 Fri, 13 Jul 2018 09:44:52 +0000 https://piotrminkowski.wordpress.com/?p=6475#comment-507 Hi Piotr,
I wrote a post focused on code of a simple reactive demo application. I think that it could be useful for beginners to understand the subject. With your permission I’ll share the url http://www.mgiglione.com/2018/05/23/reactive-webflux/

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2018/05/04/reactive-microservices-with-spring-webflux-and-spring-cloud/#comment-506 Sun, 06 May 2018 17:02:48 +0000 https://piotrminkowski.wordpress.com/?p=6475#comment-506 In reply to Sridhar.

Hi,
It’s really interesting question. Following this discussion it should be possible with Feign client: https://github.com/spring-cloud/spring-cloud-netflix/issues/1554. However, I’m not sure and I didn’t try it. Probably it is still before acceptance following this link: https://github.com/spring-cloud/spring-cloud-openfeign/issues/4.

And you are right with Eureka client. I did not figure out that in the latest version of Spring Cloud (Finchley.RC1) @EnableDiscoveryClient is not required. Thanks 🙂

]]>
By: Sridhar https://piotrminkowski.com/2018/05/04/reactive-microservices-with-spring-webflux-and-spring-cloud/#comment-505 Sun, 06 May 2018 10:54:16 +0000 https://piotrminkowski.wordpress.com/?p=6475#comment-505 Hi,
Thanks for sharing an informative article on reactive micro-services.

I have a few questions as below.

Is it a best practice to specifically add @EnableDiscoveryClient on a service because, by default (In latest versions of Spring Boot/Cloud) when cloud dependencies are in the classpath the service is implicitly a eureka client.

Also, instead of using WebClient.Builder can we use Spring Cloud Open Feign as suggested by one of your earlier articles to consume one reactive service from another. If yes, is there a scenario where we need to use one over the other.

]]>