Spring Tips: The Reactor Context

  Рет қаралды 13,707

SpringDeveloper

SpringDeveloper

Күн бұрын

Пікірлер: 11
@harryfernando8682
@harryfernando8682 3 жыл бұрын
Hi Josh , How can we use logOnNext with different maps, faltmaps in a pipeline ?
@ganga5809
@ganga5809 2 жыл бұрын
Hi Josh, I got one example like XPathFactory instantiation XPathFactory.newInstance(), which is not thread safe hence we can use Context to store the factory here. But I can see in your examples the Context is shared among the different threads, should we have to manage ourself to make it available on the same thread only ?
@privettoli
@privettoli 5 жыл бұрын
Hi Josh! It looks like some kind of MDC-style development. I see only logging as the appropriate need to use reactive context, nothing else.
@privettoli
@privettoli 5 жыл бұрын
I just had to write that comment before watching the whole video)))))
@coffeesoftware
@coffeesoftware 5 жыл бұрын
I think you're missing some interesting opportunities. Spring Data uses it for transaction demarcation. Spring Security uses it for propagation of principal information. HTH
@VigneshBhaskar
@VigneshBhaskar 4 жыл бұрын
Hi Josh, I don't see a lot of examples online using Reactive Websockets. Currently am using Websockets with UnicastProcessor for my chat room application. Can this use-case be dealt with RSockets or is RSockets just for intercommunication between Microservices? Pls, advise.
@coffeesoftware
@coffeesoftware 4 жыл бұрын
hi bud -check out this example. the important bit is that you need a `WebSocketHandlerAdapter,` a `WebSocketHandler`, and a `SimpleUrlHandlerMapping`. github.com/joshlong/reactive-revolution/blob/master/main/rsocket-service/src/main/java/com/example/service/ServiceApplication.java#L110 as for RSocket, well, your browser isn't going to understand RSocket by default. you can use a JS library to speak RSocket on top of WebSockets, but it's an extra layer. You could use RSocket to handle a chat application, though, absolutely. You'd also get some nice benefits including the ability to then more naturally consume that cha API from any RSocket client, headers ("metadata"), Spring Security JWT/Simple authentication , and more
@VigneshBhaskar
@VigneshBhaskar 4 жыл бұрын
@@coffeesoftware Thanks a lot. Will try them.
@ashtwenty12
@ashtwenty12 5 жыл бұрын
Great video. Is this or similar on git ?
@coffeesoftware
@coffeesoftware 4 жыл бұрын
github.com/spring-tips - all the repositories for all the videos are there
@hubertyczek8994
@hubertyczek8994 5 жыл бұрын
Thanks! Keep posting :-)
Spring Tips: Reactive Web Views
36:53
SpringDeveloper
Рет қаралды 14 М.
How to Avoid Common Mistakes When Using Reactor Netty
53:57
SpringDeveloper
Рет қаралды 27 М.
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 65 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 26 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 194 МЛН
Avoiding Reactor Meltdown
58:22
SpringDeveloper
Рет қаралды 22 М.
Correlated Logs in Spring Apps with Reactive Parts
22:55
SpringDeveloper
Рет қаралды 2 М.
Spring Tips: Organizational Consistency in your Spring Boot Applications
48:39
Reactor 3.0, a JVM foundation for Java 8 and Reactive Streams
56:34
SpringDeveloper
Рет қаралды 25 М.
The Value Of Reactive Systems
1:04:38
SpringDeveloper
Рет қаралды 11 М.
Spring Tips: Debugging Reactor Applications
53:28
SpringDeveloper
Рет қаралды 21 М.
Spring Tips: Testing Reactive Code
1:04:01
SpringDeveloper
Рет қаралды 15 М.
Reactor in Action - Simon Baslé, Victor Grazi
1:09:45
SpringDeveloper
Рет қаралды 31 М.
Spring Tips: the Spring Web Flux Reactive Client
18:51
SpringDeveloper
Рет қаралды 44 М.
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 65 МЛН