Комментарии:
spring boot 3.2 has very nice futures.
it's a remplacement of feign dependencies, i hope that we can do wht feign do (headers and interceptor )
how to modify request headers in this case (for example, with some bearer token )?
ОтветитьBuy what will happen if gateway is not available.. or its return some specific JSON error? We are in network it has no 100% response guarantee.
ОтветитьHi Dan! Great video! Currently we are on spring boot 2 and use feign (incl some spring integrations like oauth2 or decoders) for creating rest clients to all apis where there are no public java client apis available. Works really great and we love the declarative style. What's the benefit of using this new spring way and will spring feign support be discontinued?
ОтветитьHi Dan, Great video. Can we handle exceptions thrown from the other service using @ControllerAdvice like we normally do or it has any restrictions on that?
ОтветитьUsing this approach with webclient for a while now, and it kind of gets messy creating beans for each rest. Spring Boot should have some annotation or something to solve this.. Or a custom annotation to do this?
ОтветитьMaybe a strange question, but doesn't Feign do this already (with Eureka discovery) and it is easy? Or am I missing something. Awesome video!
ОтветитьJunior question it’s feing client good for doing this ?
ОтветитьHi Dan! Nice video.
Can you please make some fresh content related to Spring GraphQL, although u have made it, but still once again, but not just basics, some pretty advanced stuff!!
Thnx Dan, great video as usual, but can you please try to use dark mode for the videos...
as a member of dracula developers community I really find it hard to follow the code with all these brightness 😅🤣
Nice tutorial, thanks. What about handling non-200 return codes though?
ОтветитьBut what if I want to have some custom error handler for cases like Not Found? Or throw an exception?
ОтветитьThat's great for demos and MVPs. In RL you might need to put some specific headers in the calls, which can be path dependent :)
ОтветитьIf you are using ultimate edition, you can create new project using spring initializer from within the ide using File -> New Project -> Spring Initializer
Ответитьhow about if i want to handle the exception which is maybe happen form the upstream service how could i do that?
ОтветитьHopefully the Spring team adds some kind of annotation on top of the interface so we dont have to do the boiler plate code in the future!
ОтветитьIt be great if you could add retries.
ОтветитьGreat 💯 love to see how to add interceptor ( eg: want to add a header ) nd error handling with it
ОтветитьHi Dan,
What do you think about using openfeign
Thanks Dan! I am really curious to know if the fields of the Geo class populated correctly :)
ОтветитьAnother great tutorial Dan, congrats.
Silly question, how to maintain the json field order in the response? They are all over the place here :)
There are several online helpers to convert JSON to POJO.
ОтветитьHi Dan , it will be intéressed a tutorial to use web client calling the use api by iterating and populate to h2 and benching for reactive and a non reactive client...
ОтветитьHi Dan!
Ответить