Тёмный

Tutorial #10 | Reactive streams: map vs flatMap vs concatMap vs flatMapSequential | Engineer 

Engineerhoon
Подписаться 5 тыс.
Просмотров 12 тыс.
50% 1

#ReactiveProgramming #FLux #Mono #FlatmapOperator #TransformingReactiveStream #Engineer
In this video, I have talked about the Reactive Stream operators. We have operators like filter, map, flatMap, concat, merge and zip for Reactive Streams. This video is about flatMap operator using which we can transform a reactive stream. I have also explained the differences between flatMap, concatMap and flatMapSequential with hands-on example.
I hope this video will also help you to understand the basic difference between map and flatMap operator.
Stay tuned.....
Happy Coding :)
======================
Important playlists
======================
Reactive Programming: • Tutorial #1 | Introduc...
Data Structures • Introduction to Data S...
Linux: • How to use VIM/VI edit...
SonarQube: • Install and configure ...
======================
You can follow me on:
======================
Instagram: / engineerhooon
LinkedIn: / sunny-shaw
Github: github.com/sun...
Medium: / sunnyshaw_12357
=============================================================
|| Subscribe and hit the bell button to get latest content ||
=============================================================

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@bobyrasta100
@bobyrasta100 Год назад
This is the best tutorial on this topic on youtube.. till date. Thanks young man, job well done.
@Engineerhoon
@Engineerhoon Год назад
Thanks for those kind words. It means a lot.
@Telugunela
@Telugunela 4 года назад
Excellent Explanation. Subscribed after this. Thanks
@Engineerhoon
@Engineerhoon 4 года назад
Thanks!!
@annapureddyravi4054
@annapureddyravi4054 9 месяцев назад
Very nice bro
@Engineerhoon
@Engineerhoon 9 месяцев назад
Thank you 😊
@belliraj1
@belliraj1 4 года назад
good tutorial
@Engineerhoon
@Engineerhoon 4 года назад
Glad it helped! Please share this video so that it can reach to those who need it. Thanks.
@avinash-tripathy
@avinash-tripathy 3 года назад
Great content!!! Could you tell me how you have enabled that suggestions which you have it at the end of each line(Flux)??
@Engineerhoon
@Engineerhoon 3 года назад
You can try enabling show hints from preferences.
@amizan8653
@amizan8653 3 года назад
Is there any reason to use concatMap over flatMapSequential? I'm failing to see why you'd want to use concatMap unless you *want* the performance hit for some reason.
@Engineerhoon
@Engineerhoon 3 года назад
If you want the order to be maintained then go for concatMap.
@RajeshSamson
@RajeshSamson 4 года назад
Superb explanation...... No more words just Subscribe
@h.mantri
@h.mantri 3 года назад
Does flatmap spawn a new thread?
@Engineerhoon
@Engineerhoon 3 года назад
No. Reactor operators generally are concurrent agnostic: they don’t impose a particular threading model and just run on the Thread on which their onNext method was invoked.
@h.mantri
@h.mantri 3 года назад
@@Engineerhoon Is there a way I can make a flatmap/map run on separate thread? Why is the term 'asynchronous' mentioned in the Java doc of flatmap?
@Engineerhoon
@Engineerhoon 3 года назад
Yes, using Reactive Schedulers. Watch this videos ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-E7vOhHZkhE4.html
@mubarakabbas
@mubarakabbas 4 года назад
Can i print inside the flatmap
@Engineerhoon
@Engineerhoon 4 года назад
You can but in that case output from your flatmap would be void/unit. Usually you should use reactive log method in the chain after flatmap.
@mubarakabbas
@mubarakabbas 4 года назад
@@Engineerhoon somehow it didnt work,
@Engineerhoon
@Engineerhoon 4 года назад
@@mubarakabbas Can you push it to github and share link?
Далее
CORTE DE CABELO RADICAL
00:59
Просмотров 1,1 млн
Project Reactor Essentials 23 - zip and zipWith
10:04
What is Spring Webflux and when to use it?
17:46
Просмотров 243 тыс.