31 Flux to Mono (Reactive programming with Java - full course)
Вставка
- Опубліковано 2 жов 2024
- Course: Reactive programming in Java
Covers: Reactive fundamentals, Project Reactor
Access this full course NOW & unlock more awesome courses like this by becoming a member:
/ @java.brains
Website:
www.javabrains.io
Learn the basics of reactive programming. You will learn to "THINK REACTIVE" - understand the paradigm shift and thinking change necessary to write code in a reactive way using Project Reactor.
New video every 3 days! Subscribe and enable notifications to be alerted.
Can we please get a full course on graphql anytime soon?
There are some lectures missing from 23 numbers come to 26 and again from 31 to 34 directly @javabrains
Why does buffer operator return Flux and not just Flux? Flux itself can hold more than 1 elements then why it needs to store a list?
so as the return type of collectList() is Mono so program will wait untill we print result .even if we don't write code for "press any key to end". correct me if I am wrong
Thank you Koushik for the course. Could you make a 'Code with Me' course for a Full stack application based on Java Reactive Programming?
Yes, we would like that
Hi Koushik! Thanks to your course!
I got the last task as take sums of every element with its neigbours, like 1+2 , 2+3, 3+4...
So my solution was like:
intNumbersFlux().zipWith(intNumbersFlux().skip(1))
.map(tuple -> (Integer) tuple.get(0) + (Integer) tuple.get(1))
.subscribe(System.out::println);
I am not sure how take(n) works. I have flux with 5 objects, and have take(1).log().subscribe() , it only logs the first one and does not log the rest 4 . Does take , only takes the given number and finish ?
Excellent video! Can you please share what IntelliJ theme and font you are using?
at 6:17 we can use .map(list -> list.stream().mapToInt(Integer::intValue).sum()) and it sums up all elements in the list
Thank you Koushik for the amazing work
Great video as usual. Got me motivated
👌!! Thanks!!
Okay, this is okay, but you need to get rid of spelling continuously “okay”, okay?
Because okay is you parasite word, okay, and it’s a very frustrating one, okay, and this is not okay.
Okay 👍
@@Java.Brains 🤣