Configuring timeouts in Spring reactive WebClient

Image courtesy : https://burst.shopify.com

Introduction

The WebClient is the de-facto interface to use when calling reactive downstream endpoints while developing web services on the reactive stack. It is a non-blocking, reactive client to perform HTTP requests. It uses Reactor Netty as its default underlying HTTP client library. And allow the application developers to customise the implementation if required.