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

Поділитися
Вставка
  • Опубліковано 11 гру 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 10 місяців тому

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

  • @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

  • @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.

  • @Piontek.k
    @Piontek.k 11 місяців тому

    Wtf are those scratch noises?

  • @hareepjoshi
    @hareepjoshi Рік тому

    this was a complete waste of time.