Cached Insights
Cached Insights
  • 44
  • 184 706
Retrofit rest client to make Rest API HTTP Call in Spring Application
Retrofit is a type-safe http client for java and android and its unique feature is it converts the http api call into a java interface and the actual implementation happens behind the scenes by retrofit library.
This rest client is a good alternative to springs own Rest Template for communication with any Rest API over HTTP call.
In this video we will be looking into how we can implement Retrofit rest client in our spring application to make the Rest API HTTP calls.
#CachedInsights #retrofit #spring #springboottutorial #restapi #http
มุมมอง: 2 399

วีดีโอ

Fault Tolerance | Resilience4J using Spring Boot | Circuit Breaker
มุมมอง 9502 ปีที่แล้ว
This session covers the implementation of circuit breaker in a spring boot application using resilience4J. It also covers various properties which help in configuring the circuit breaker as per the need. Github : github.com/cachedinsights/circuitBreaker Resilience4J : resilience4j.readme.io/docs/circuitbreaker #CachedInsights #circuitbreakers #FaultTolerance #availability 0:00 Circuit Breaker S...
Circuit Breaker Pattern in microservices | Resilience4J
มุมมอง 1.4K3 ปีที่แล้ว
No microservices architecture is perfect and the intermittent behaviour of services being down or not reachable is very common.Circuit breaker addresses this very issue and helps in avoiding the cascading failure effect. Resilience4J is one such circuit breaker used widely with spring framework. #CodedTribe #CircuitBreaker #Microservices #Resilience4J
Spring Cloud Gateway with Resilience4j and Redis rate limiter
มุมมอง 15K3 ปีที่แล้ว
An API Gateway is an immense part of an microservices/ monolithic application. Spring cloud Gateway is one such implementation by spring framework . It provides capability to implement an API Gateway , Circuit breaker and Rate limiter and much more. Github Repository: SpringCloudGateway : github.com/coded-tribe/springCloudGateway.git books service : github.com/coded-tribe/books.git countries se...
Monoliths or Microservices ?
มุมมอง 813 ปีที่แล้ว
Monoliths or Microservices which architecture style should be followed is one of major concerns while designing any enterprise application. Each of them have it's own Pro's and Con's.
Java Optional | Java 8
มุมมอง 5733 ปีที่แล้ว
Optional is a container object introduced in Java 8 which may or may not contain a non-null value. Handling NullPointerException were never so easy, efficient and elegant unless Optional class came into existence. #Java8 #CodedTribe #JavaOptional
Java Streams API
มุมมอง 1723 ปีที่แล้ว
Streams are one of the important API released in Java 8.Process data source more elegantly using the java streams. Streams API provide functional style of operations and provides various method to create pipeline of streams. #CodedTribe #Java8 #JavaStreamsAPI
Design Url Shortening Service | Spring Boot | System Design
มุมมอง 12K4 ปีที่แล้ว
Design Url Shortening service like bit.ly or tiny url using spring boot. In this video we will discuss end to end service development starting from functional requirements to selection of algorithm, database design to basic system design consideration. 0:00 Intro 1:27 Functional Requirements 2:04 Rest API design 2:35 Database design 3:54 Algorithm Selection 6:50 Code setup & pom.xml 7:35 Servic...
Multipart file support in Spring Boot | CodedTribe
มุมมอง 29K4 ปีที่แล้ว
Multipart file upload and download with spring boot application is a very common task for developers today and this video explains step by step how to upload and download a multipart file of any type into local system storage as well as to a Database. Learn how to expose a downloadable link of the uploaded file and defining the size limit of a multipart file in spring boot. Recommended Books : ...
Code Coverage using JaCoCo Gradle plugin | Spring boot Junit Test
มุมมอง 15K4 ปีที่แล้ว
Code Coverage is an integral part of unit testing as it provides a holistic view of what % of code is covered. Junit test coverage in a spring application can be visualised using Jacoco gradle plugin. Also Jacoco provides various features related to code coverage verification. Recommended Books : Data Structure and Algorithm : amzn.to/2PEwqUr Cracking the coding interview : amzn.to/3tJ0kFt Buil...
HATEOAS | Hypermedia links with Spring MVC Spring boot Example
มุมมอง 6K4 ปีที่แล้ว
HATEOAS stands for Hypermedia as the engine of application state.Hypermedia links present in the responses as part of HATEOAS concept drive the state of the application. Spring Boot provides the HATEOAS dependencies with which we can create these hypermedia links and make our Spring MVC REST API's HATEOAS compliant. Recommended Books : Data Structure and Algorithm : amzn.to/2PEwqUr Cracking the...
Redis as Pub Sub With Spring Boot | Message Broker
มุมมอง 11K4 ปีที่แล้ว
Redis is a versatile NoSql key-value paired data-structure store.Among multiple use case one is message broker. Redis as Pub Sub messaging system is widely used. Fun Fact - Twitter uses it.In this video we will implement Pub Sub model in a Spring boot application using Redis. Recommended Books : Data Structure and Algorithm : amzn.to/2PEwqUr Cracking the coding interview : amzn.to/3tJ0kFt Build...
Richardson Maturity Model for REST API | CodedTribe
มุมมอง 4.3K4 ปีที่แล้ว
Richardson Maturity model categorises REST API into various level which tells us how restful an API is. Richardson Maturity Model has various level - LEVEL 0 - LEVEL 3. Level 0 being not restful at all. Level 1-3 tells the maturity of REST API. #CodedTribe #REST #RichardsonMaturityModel
What is Redis | Spring Data Redis as Cache | Coded Tribe
มุมมอง 24K4 ปีที่แล้ว
What is Redis | Spring Data Redis as Cache | Coded Tribe
Spring Boot REST documentation with Swagger 2 | stackfortech
มุมมอง 1664 ปีที่แล้ว
Spring Boot REST documentation with Swagger 2 | stackfortech
Spring Boot Actuator | Custom metrics
มุมมอง 1.2K4 ปีที่แล้ว
Spring Boot Actuator | Custom metrics
GraphQL CRUD Operations | Query Mutation Subscription
มุมมอง 2.2K4 ปีที่แล้ว
GraphQL CRUD Operations | Query Mutation Subscription
What is package-lock.json | Explained
มุมมอง 9K4 ปีที่แล้ว
What is package-lock.json | Explained
Semantic Versioning in NPM or SemVer Explained
มุมมอง 4014 ปีที่แล้ว
Semantic Versioning in NPM or SemVer Explained
Spring security filter chain explained | Architecture
มุมมอง 11K4 ปีที่แล้ว
Spring security filter chain explained | Architecture
REST vs GraphQL | Which is a better choice | stackfortech
มุมมอง 1834 ปีที่แล้ว
REST vs GraphQL | Which is a better choice | stackfortech
Docker Networking | Container communications | Docker Tutorials for Beginners
มุมมอง 1324 ปีที่แล้ว
Docker Networking | Container communications | Docker Tutorials for Beginners
Docker Volumes - Create & Attach Volumes vs Bind Mounts
มุมมอง 6K4 ปีที่แล้ว
Docker Volumes - Create & Attach Volumes vs Bind Mounts
How to create docker image and run docker container with spring boot | CodedTribe
มุมมอง 1164 ปีที่แล้ว
How to create docker image and run docker container with spring boot | CodedTribe
What is GraphQL | Introduction
มุมมอง 634 ปีที่แล้ว
What is GraphQL | Introduction
SSL Handshake Protocol | HTTPS or HTTP
มุมมอง 9K4 ปีที่แล้ว
SSL Handshake Protocol | HTTPS or HTTP
Spring boot with JPA and H2 Database
มุมมอง 4.2K4 ปีที่แล้ว
Spring boot with JPA and H2 Database
How to configure H2 in Spring Boot | In memory database
มุมมอง 1324 ปีที่แล้ว
How to configure H2 in Spring Boot | In memory database
Secure Spring Boot app with SSL/TLS certificate generated using keystore
มุมมอง 5K4 ปีที่แล้ว
Secure Spring Boot app with SSL/TLS certificate generated using keystore
Newman cli- Postman command line tool
มุมมอง 2014 ปีที่แล้ว
Newman cli- Postman command line tool

ความคิดเห็น

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

    Awesome Bro can you please create a tutorial which is covering Saga.

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

    Is there any reason why you are annotating @service with the service interface and @component with the service implementation?

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

      No Specific Reason. Instead of this approach you can leave interface without any annotation and annotate the service class with @Service annotation.

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

    Nice explanation

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

    hey! can you explain the "response" on line 73 in the controller when I'm writing the same code, IntelliJ is suggesting me that it can't resolve symbol: 'response' Please help!

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

      Instead of response use httpServletResponse

  • @RichaKumari-ec3ud
    @RichaKumari-ec3ud 7 หลายเดือนก่อน

    hii I am not getting Apache common & Guava dependency suggest alternative for that ?

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

      Create project without these annotation. After creation, search these dependecies in maven repository and add in the pom.xml of your project.

  • @madhurendra-nath-tiwari
    @madhurendra-nath-tiwari 8 หลายเดือนก่อน

    Small suggestions use lombok for getter setter toString allargs constructor and no args constructor

  • @Abhishek-tx4er
    @Abhishek-tx4er 9 หลายเดือนก่อน

    Hi the countries and book service do not have any code in github

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

    very well explained

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

    thanks

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

    bro can you speak a little bit slowly all main parts of video where u are explaining any concept you just start speeding up

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

    Thanks you so much Brooooo! My project was about this.

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

    waste

  • @MahnazMahmoudi-z8j
    @MahnazMahmoudi-z8j ปีที่แล้ว

    Why didn't you write annotations for the getAll?

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

    I was just looking over the main parts of video , hope I didnt missed anything, At @29:51 why are we saving different short urls in db for same input url, shouldnt we check if originalurl already exist in db then dont insert in DB, can you please correct me if my understanding is wrong or am I just missing something here

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

      i think he wants to create unique short urls each time

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

    Hi. Can you share the documentation you referred for coming up with this approach. Thanks.

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

    You going a bit too fast bro but thanks anyway, good explanation and lots of detail

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

    Please make one video to upload file and store into database using spring boot thymleaf html ❤

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

    Is it possible to install Redis software in Windows 10? Please let me know. Thank you for your nice lecture

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

    If I have a .txt file it will work in that case as well??

  • @RN-jo8zt
    @RN-jo8zt ปีที่แล้ว

    when i should use httpsecurity and websecurity?

  • @user-dn3hg
    @user-dn3hg ปีที่แล้ว

    Hi, when I execute ./gradlew jacocoTestReports, file jacoco > html (inside package reports) is not created. Just the package "tests". Someone help me?

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

    Your video are so incredible, Thanks a lot of!!!

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

    why it's not working anymore? always receiving the message "error": "Url does not exist or it might have expired!"

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

      and this error too {"status":"200","error":"Url Expired. Please try generating a fresh one."}

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

      Please check we have a logic to expire the generated url automatically after sometime. If you don’t want it to expire until the generated url exists in the datastore, you can disable the logic to automatically expire the url

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

    and one problem is occured how to delete a file for uuid from database??? can you explain me to do that???

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

    Unable to process parts as no multi-part configuration has been provided why this error happens?

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

    Please continue making videos on Spring boot and java. They are really good. Hope your channel grows faster.❤

  • @rahul-java-dev
    @rahul-java-dev ปีที่แล้ว

    Thank you so much. 🙌🙌👌👌. Request you to bring more videos.

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

    Hi Sir, can you please provide the github repo for this project

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

    Very good example

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

    That's very kind of you

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

    thank you so much

  • @chandanimadavi3080
    @chandanimadavi3080 2 ปีที่แล้ว

    I have watched many videos but still I was not getting clearly idea. You have explained clearly in short time.

  • @bhupeshbhatt4849
    @bhupeshbhatt4849 2 ปีที่แล้ว

    great explanation !

  • @_360Art
    @_360Art 2 ปีที่แล้ว

    Clear explanation. Thanks

  • @vamshikrishnapatha9857
    @vamshikrishnapatha9857 2 ปีที่แล้ว

    very clear

  • @sadabkhan2965
    @sadabkhan2965 2 ปีที่แล้ว

    Plz provide one vedio for specific user. If user sadab 10 req per minute and 500 req per day for every user

    • @CachedInsights
      @CachedInsights 2 ปีที่แล้ว

      Noted. Will plan to make one on this topic.

  • @hemanthkumarallam3894
    @hemanthkumarallam3894 2 ปีที่แล้ว

    Thanks you Much I have implemented this project completely.. I have used mysql workbench.... I have learned a lot..

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

      can you share your github link please?

  • @ridwanmaulana2459
    @ridwanmaulana2459 2 ปีที่แล้ว

    Why my download can't download the file

  • @Entertainment_Zone2522
    @Entertainment_Zone2522 2 ปีที่แล้ว

    Bro, Do for getAll api? Cache not working

  • @deltamakuba
    @deltamakuba 2 ปีที่แล้ว

    Thank you, that was amazing and straight to the point...

  • @amanhanjra1105
    @amanhanjra1105 2 ปีที่แล้ว

    Nice explanation. Keep it up.

  • @hariharan1624
    @hariharan1624 2 ปีที่แล้ว

    nice

  • @christopher-bn1xo
    @christopher-bn1xo 2 ปีที่แล้ว

    merci infiniment

  • @samssunny16
    @samssunny16 2 ปีที่แล้ว

    how we can store and retrieve java collections and Date object in redis cache? Can anyone help me on this?

  • @jay-rathod-01
    @jay-rathod-01 2 ปีที่แล้ว

    Bro how do you learn so good just using documentation? or did someone teach you???

  • @krishind99
    @krishind99 2 ปีที่แล้ว

    Thanks for sharing. What’ll happen, if your subscriber was a separate project and is started after few messages are published by publisher service. Will still get the history? What you have got is still tightly coupled solution. Say if you have a separate subscriber service and there’s influx of messages, can you scale subscriber alone? Even if you do, will the same messages not be redundant on all subscribers? The pattern you shared is the most simplest/basic form, but a potentially misleading, when you think through :) Good start though

  • @abdulbasithashraf5480
    @abdulbasithashraf5480 2 ปีที่แล้ว

    This is awesome content covering so much in detail

  • @susmithaankireddy3375
    @susmithaankireddy3375 2 ปีที่แล้ว

    Getting remaining limit header as -1 why

    • @edwardzarecky509
      @edwardzarecky509 2 ปีที่แล้ว

      I have a same problem

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

      I'm getting content length in headers , While hitting the API . I'm not getting rate limit in headers response Can you help with this Getting response 200 But not getting rate limit in headers response

  • @umeshpathak5223
    @umeshpathak5223 2 ปีที่แล้ว

    what is syntax difference in volume and bind mount if we use( -v local pc path: container path )in both of them

    • @0xbartita
      @0xbartita 2 ปีที่แล้ว

      volume is you created it but bind mount it's a dir path

  • @alokmaheshwari8755
    @alokmaheshwari8755 2 ปีที่แล้ว

    awesome video