Hi, mb in this channel somebody could help me :smi...
# spring
e
Hi, mb in this channel somebody could help me 😃 https://kotlinlang.slack.com/archives/C1CFAFJSK/p1605103613045600 I have a problem with retrieving a reactor context in suspend function (in general in spring webflux in route suspend function). Base example from docs doesn’t work, but I found that context could be retrieved by
val context = Mono.deferWithContext { ctx -> Mono.just(ctx) }.awaitFirst()
. Is it a right solution ?
n
Since you posted this in Spring room how you are using this in controller just wondering.
e
in filter set
trace_id
in reactor context and later try to retrieve it in suspend function