In this chapter, we looked at the various ways to add resilience to our application. First, we covered possible error scenarios involving the producer and the subscriber. Next, we looked at how Reactor performs error handling under each of those conditions. This enabled us to configure the required error handling in Reactor, by using the various operations that are offered. Reactor allows us to configure fallback values for the thrown exceptions by using onErrorReturn and onErrorResume operators. We also configured timeouts and retry machines, using the available operators, in order to generate timely responses. Finally, we configured error handling in WebClient. In a nutshell, we explored the possible ways to configure error handlers in Reactor.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine