Reactive REST API Calls in Spring Boot: How to Use the Reactive Web Client

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

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

  • @ukaszkiepas57
    @ukaszkiepas57 10 หลายเดือนก่อน

    thank you mate!

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

    How do you get books and authors in parallel, then nest the books to their respective author?

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

    Why isn’t the page size part of the request parameters? It’s good to see you out of your comfort zone. If you want the performance benefits does the server have to be reactive too? For example if the underlying persistence layer supports reactive APIs.

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

      The page size has a default (20 I think?) and that worked OK for the tut. If you were implementing a service where you wanted a finer-grain control, then absolutely pass that across as well. Same goes for any sorting params 💪
      App servers implement certain specs e.g tomcat implements the servlet spec (non-reactive). I think Netty has a bridge which allows you to run non-reactive apps on it, but tomcat (AFAIK) cannot run reactive apps.
      So Netty (or something similar) would be required for project Reactor stuff.
      As for repositories there's ReactiveCrudRepository which may be worth a look 👍

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

    What if I am having app_id, app_key and some of the optinal query? How can i do so?
    By the way really appreciate all your Spring Boot Tutorial !

  • @Dd-do-and-dont
    @Dd-do-and-dont 6 หลายเดือนก่อน

    We could also use default value annotation for zero page

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

    Thank you ☺️

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

      You are very welcome!

  • @mirkolantieri
    @mirkolantieri 9 หลายเดือนก่อน

    Is it possible to configure a proxy url and port on web client, similar to what a rest template can do in its config?

  • @Ahmad_Al-Deeb
    @Ahmad_Al-Deeb 5 หลายเดือนก่อน

    Can we have the repository link?
    Thank you.