Spring Tips: the Spring Web Flux Reactive Client

preview_player
Показать описание
Speaker: Josh Long

Hi Spring fans! in this installment, we'll look at the reactive `WebClient` and `WebTestClient` in Spring Web Flux, the reactive web stack in Spring framework 5, due this summer.
Рекомендации по теме
Комментарии
Автор

Interesting to see Spring people also using Intellij intead of STS :)

renceabishek
Автор

Can someone explain line 10 @9:32
I am receving an error: new SpringApplication(ReactiveClientApplication.class, args)

The constructor SpringApplicationBuilder(Class<ReactiveClientApplication>, String[]) is undefined

Also line 27 @12:47
Error: Syntax error on token ":", invalid AssignmentOperator

Am I missing something?

JesseQuickEats
Автор

.flatMap(cr -> cr.bodyToFlux(Event.class)) - why your compiler doesn't complain "cannot convert Flux<T> to Mono<T>"?? You changed again the API specs?

Cyberglad
Автор

AllArgsConstructor error with Final in Event class

neotechfriend
Автор

Code at 11:50 stopped compiling, I use the following now:

webClient.get()
.uri("/stream")

.exchange()
.flatMapMany(clientResponse ->

BoatToast