13 Using WebClient to make API calls - Spring Boot Microservices Level 1

preview_player
Показать описание
In this video, we'll switch to using WebClient for making API calls. We'll explore how WebClient uses reactive programming constructs for fetching API response.

Workshop recorded live on Feb 9, 2019.

Course: Spring Boot Microservices Level 1 - Communication and discovery

This course introduces you to building microservices with Spring Boot and Spring cloud. This is Level 1 - start here if you are completely new to building microservices in Spring.
Рекомендации по теме
Комментарии
Автор

Sync and Async are like in the post office.
Sync - When you go to take your package you wait inline till your number comes and
then you are served (wasting time and stopping all your daily tasks).

Async - you get your number via SMS and you keep with the rest of the
day and when your turn arrives you get a message on your phone to come
and get your package.

bazar
Автор

He is really good teacher. Very unique style of explaining.

paracha
Автор

like all your videos, right to the point, super well explained. QUALITY!

Guillotineman
Автор

These days when workshops could be made with other people in the same room....So great...So good...

ltmikepick
Автор

Awesome tutorial....you're great as always! Txs :)

eirikbremnes
Автор

Wonderful job! Thanks a lot for such a clear explanation.

ujjwolbhandari
Автор

Awesome content! It's perfect for who wants to learn a little bit about microservices

fernandonatividade
Автор

Cant wait for the workshop with WebClient =D

DevCurioso
Автор

Learned as well as enjoyed all the videos in this series. In video 13 at 11.30, I think you can relate it with callable Future in java executer framework wherein we get the actual object returned by call after thread execution finishes by future.get () method in asynchronous way.

nilendru
Автор

Amazing explanation, thank you very much. This seems easier than Retrofit.

GuitarreroDaniel
Автор

You are awsome, thanks for taking care of teaching us the new way of WebClient instead of using the deprecated RestPattern :)

haimmichalashvili
Автор

Very easy and straightforward, i like the way

imranshaikh
Автор

Excellent work, you are a good man and I wish you the best.. Thank you very much.

cihanseven
Автор

Awesome Kaushik, You are doing a great job.

NavedKhan-jeel
Автор

I've a question, what if we've a kafka topic that we consume from and want to make a rest post, and the service that produces to this is faster than the rest post request. Will a webclient work faster than a regular resttemplate and will the service still have to wait for the response before committing offsets in the kafka topic?

kamp
Автор

You couldn't have explained it better.
Thanks!

Manuel-ugfg
Автор

Hi Kaushik, You have AsyncRestTemplate already for async calls . Can you please explain us the difference between ASyncRestTemplate Vs WebClient ?

rajivjha
Автор

Your are great Sir, the way of teaching is awesome

pramoddwivedi
Автор

Shouldn't be the return value of .build() from the web client builder specified as @Bean ? as invoking .build() will create instance every time a new request comes?

fsociety
Автор

What happens when we have multiple class into service stub and we got request as string then how can we mapping class name ?
bodyTomono(?)

narendra_ingle