Started using reactive programming from 6 months, got to say still lot of thing to learn 😀. Complete different paradigm
@vipinkumargarg12327 ай бұрын
Changing mindset from Spring MVC to Reactive is the market demand now as old API cant handle the new load
@mostinho7 Жыл бұрын
Done thanks Both mono and flux have completion event, failure event Can return complete event without any items that means there’s no items Flux can keep sending items without a complete event (infinite flux) Complete and failure are terminal events nothing will be emitted affer
@bishopbishal591511 ай бұрын
To better understand terminal event with context of stream is when you call an foreach or something like that on stream then you can't call anything else after that on the stream . The stream ends there only 5:06
@thomasandolf73652 жыл бұрын
there is actually more events, success which is sent after each item and then the complete event when is sent after all items are sent.
@MarcosDelBasso8 ай бұрын
this is pure gold. thanks a lot
@vineetgarg91252 жыл бұрын
@javabrains what is the best way to trace execution path in logs in reactive programming? In normal programming we have thread id logged and we can easily trace. Here all callbacks happen in separate thread. Please suggest.
@raj_kundalia3 ай бұрын
Is there a chance that Mono emits an item and then there is failure event?
@FatovMikhail2 жыл бұрын
just curious why isn't an item a terminate event in mono
@thomasandolf73652 жыл бұрын
It's because if the Mono sends a terminal event, we know that the code then will stop its regular execution path and instead go down the error path, where we do our error handling. If item was a terminal event, it would take the error path all the time. So we need to distinguish when something went good, vs something went bad so we know which path to take
@BekTesfa Жыл бұрын
As we learn how to process Mono and Flux, how are those generated in the real world? Do we have a case where a repository is reading a db and emitting these reactive objects such Mono or Flux ?
@loveutube042 жыл бұрын
I am listening to infinite stream of events. Let's say I get an error, but I need to continue to listen to the future events. So do I need to re-subscribe? What is the best practice here in this case?
@amansinghtomar91692 жыл бұрын
First like 👍
@vinodhreddy62272 жыл бұрын
Y half half vidoe only posting any reason
@koseavase2 жыл бұрын
Don't understand why a complete event is needed for a Mono
@razrgu3838 Жыл бұрын
so that your code can be consistent no matter it's Flux or Mono.