Reactive and Imperative Context Propagation in Spring Applications by Dariusz Jędrzejczyk

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น • 11

  • @Muescha
    @Muescha ปีที่แล้ว +1

    24:00 if you replay the code: you need to add: implementation 'io.micrometer:context-propagation:1.0.2' to the gradle file to get the ContextRegistry

  • @Muescha
    @Muescha ปีที่แล้ว

    34:00 if you replay the code: and the WebFilter is not invoked -> maybe you forget to reload the gradle setup when you comment out the spring boot starter web in the gradle file

  • @sfshtirlitz
    @sfshtirlitz ปีที่แล้ว +1

    What about calling another microservice using webClient and not just reading the file? It would be great to see the same traceId on the other side of webClient call? And that's what would make it "distributed"...

    • @shubhamkesri6859
      @shubhamkesri6859 11 หลายเดือนก่อน

      I am also looking to handle a similar kind of issue, did you find any resources for it ?

  • @skkchoudhary
    @skkchoudhary ปีที่แล้ว

    Can u plz share your example code or git location

  • @Muescha
    @Muescha ปีที่แล้ว

    could you add the link to the example code to the description?

    • @Muescha
      @Muescha ปีที่แล้ว

      i can not post a link into the comments, because then all my comments will be deleted.

  • @ksoot
    @ksoot ปีที่แล้ว

    Thanks for the Demo. It looks good when you are making just one call at a time, but things may fall apart when u make multiple parallel call to API, the their trace id and span id gets mixed up. Need to confirm that

    • @jeet987
      @jeet987 ปีที่แล้ว

      Have you tried playing with this ? Even i suspect there could be mix up or MDC ctx getting lost , which i have seen with my webflux apps

  • @Piontek.k
    @Piontek.k 11 หลายเดือนก่อน

    Wtf are those scratch noises?

  • @hareepjoshi
    @hareepjoshi ปีที่แล้ว

    this was a complete waste of time.