Tech Tutor
Tech Tutor
  • 44
  • 166 828
Watch Me Code a Retryable Feign Client with Java Spring
In this video you will get to see me set up new Java Spring project using Spring Initializr, OpenFeign, Spring Retry, and a walk through of the Spring documentation.
Github Source Code:
github.com/The-Tech-Tutor/retry
Spring Initializr:
start.spring.io/
OpenFeign Documentation:
docs.spring.io/spring-cloud-openfeign/docs/current/reference/html/
Spring Retry:
github.com/spring-projects/spring-retry
#java #spring #feign #retry
มุมมอง: 1 724

วีดีโอ

Java Spring Netflix Eureka Quick Start
มุมมอง 87811 หลายเดือนก่อน
In this video you will get to see me set up new Java Spring projects using Spring Initializr, Netflix Eureka Service Discovery Framework, and walking through the Spring Docs. Github Source Code: github.com/The-Tech-Tutor/eureka Spring Initializr: start.spring.io/ Eureka Documentation: cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-eureka-server.html#spring-cloud-running-eureka-se...
Watch Me Code a Java Spring App and Send Metrics to Datadog
มุมมอง 7Kปีที่แล้ว
In this video you will get to see me set up a new Java Spring project using Spring Initialzr and then with minimal dependencies send metrics to Datadog. Then I will setup some basic metrics tracking in Datadog and show how to easily add timed metrics for your APIs using micrometer. Github: github.com/The-Tech-Tutor/datadog Spring Initialzr: start.spring.io/ Timed Annotation micrometer.io/docs/c...
Watch Me Code an OAuth2 Facebook Login Client with Java Spring
มุมมอง 2Kปีที่แล้ว
In this video you will get to see me set up a new Java Spring project using Facebook Developer Docs and walking through the Spring Docs. Google Login Video: th-cam.com/video/ug_89Gx0Ow8/w-d-xo.html Spring Initialzr: start.spring.io/ Facebook Developer Docs: developers. docs/facebook-login/web Spring Docs: docs.spring.io/spring-security/reference/servlet/oauth2/index.html #java #spri...
Code An Arm Wrestling App Using Java Spring Boot with Less than 150 Lines of Code
มุมมอง 190ปีที่แล้ว
In this video you will get to see me set up a new Java Spring Boot project using Spring Initialzr, IntelliJ, DBeaver, Postman and walking through the Spring Docs. I will also be showing how to use a Feign Client to make requests to an API and save it to a local PostgreSQL database. Docker, PostgreSQL, and DBeaver intro video: th-cam.com/video/b6pYcTr4pCs/w-d-xo.html Spring Initialzr: start.spri...
Watch Me Code an OAuth2 Google Login Client with Java Spring
มุมมอง 33K2 ปีที่แล้ว
In this video you will get to see me set up a new Java Spring project using Spring Initialzr, Google Credentials Console, and walking through the Spring Docs. Spring Initialzr: start.spring.io/ Google Credentials Console: console.cloud.google.com/apis/credentials Spring Docs: docs.spring.io/spring-security/reference/servlet/oauth2/index.html #java #spring #oauth2
Java Spring Kafka Streams Sample Code and Demo
มุมมอง 1.8K2 ปีที่แล้ว
In this video you will learn how to quickly spin up Kafka and Zookeeper using Docker. Then I will show a short demo of the Spring code that I have written to utilize Apache Kafka Streams to aggregate separate messages into batched output messages. Source Code: github.com/The-Tech-Tutor/kafka-streams Conduktor Download: www.conduktor.io/download/ Video for setting up Docker th-cam.com/video/b6pY...
Get Started with Java Spring Kafka in 15 Minutes
มุมมอง 2772 ปีที่แล้ว
In this video you will learn how to quickly spin up Kafka and Zookeeper using Docker. Then I will show a short demo of the Spring code that I have written to write and read from the local Kafka instance. Source Code: github.com/The-Tech-Tutor/spring-kafka Video for setting up Docker th-cam.com/video/b6pYcTr4pCs/w-d-xo.html Docker Installation www.docker.com/get-started Windows Installation and ...
Kafka, Kiwi, and Zookeeper using Docker in Less Than 10 Minutes
มุมมอง 5812 ปีที่แล้ว
In this video you will learn how to quickly spin up Kafka, Kiwi and Zookeeper using Docker. Then I will show a short demo of Kiwi and how it can be a useful tool when testing your Kafka instance. Docker Compose File github.com/The-Tech-Tutor/kiwi-kafka/blob/main/docker-compose.yml Video referenced for setting up Docker th-cam.com/video/b6pYcTr4pCs/w-d-xo.html Docker Installation www.docker.com/...
Game of Life | Java | LeetCode Solution 289
มุมมอง 3.5K2 ปีที่แล้ว
This problem is considered to be Medium difficulty on LeetCode and has been asked by Dropbox, Amazon, Microsoft, and Snapchat. We will be using Java in our solution. LeetCode Link: leetcode.com/problems/game-of-life/ Wikipedia Link: en.wikipedia.org/wiki/Conway's_Game_of_Life #coding #leetcode #solutions
Number of Islands | Java | LeetCode Solution 200
มุมมอง 1K2 ปีที่แล้ว
This problem is considered to be Medium difficulty on LeetCode and has been asked by Amazon, Facebook, Microsoft, and Google. We will be using Java in our solution. #coding #leetcode #interviews
Generate Parentheses | Java | LeetCode Solution 22
มุมมอง 3202 ปีที่แล้ว
This problem is considered to be Medium difficulty on LeetCode and has been asked by Apple, Microsoft, Amazon, and Facebook. We will be using Java in our solution. Catalan Number en.wikipedia.org/wiki/Catalan_number #coding #leetcode #interviews
Binary Tree Inorder Traversal | Java | LeetCode Solution 94
มุมมอง 3K2 ปีที่แล้ว
This problem is considered to be Easy difficulty on LeetCode and has been asked by Adobe, Microsoft, Amazon, and Bloomberg. We will be using Java in our solution. #coding #leetcode #interviews
Reverse Linked List | LeetCode 206 | Java
มุมมอง 6462 ปีที่แล้ว
This problem is considered to be Easy difficulty on LeetCode and has been asked by Apple, Microsoft, Amazon, and Facebook. We will be using Java in our solution. #coding #leetcode #interviews
Remove Nth Node From End of List | LeetCode 19 | Java
มุมมอง 3522 ปีที่แล้ว
This problem is considered to be Medium difficulty on LeetCode and has been asked by Apple, Microsoft, Amazon, and Facebook. We will be using Java in our solution. #coding #leetcode #interviews
Delete Node in a Linked List | LeetCode 237 | Java
มุมมอง 1182 ปีที่แล้ว
Delete Node in a Linked List | LeetCode 237 | Java
Reverse String | LeetCode 344 | Java
มุมมอง 1132 ปีที่แล้ว
Reverse String | LeetCode 344 | Java
Contains Duplicate | LeetCode 217 | Java
มุมมอง 2262 ปีที่แล้ว
Contains Duplicate | LeetCode 217 | Java
Rotate Array | LeetCode 189 | Java
มุมมอง 3552 ปีที่แล้ว
Rotate Array | LeetCode 189 | Java
Best Time to Buy and Sell Stock II | LeetCode 122 | Java
มุมมอง 3052 ปีที่แล้ว
Best Time to Buy and Sell Stock II | LeetCode 122 | Java
Remove Duplicates from Sorted Array | LeetCode 26 | Java
มุมมอง 9992 ปีที่แล้ว
Remove Duplicates from Sorted Array | LeetCode 26 | Java
Paging and Sorting a H2 Database in Less Than 80 Lines of Code!
มุมมอง 2252 ปีที่แล้ว
Paging and Sorting a H2 Database in Less Than 80 Lines of Code!
Roblox Remote Events: Client to Server
มุมมอง 8472 ปีที่แล้ว
Roblox Remote Events: Client to Server
Java Test Coverage Using JaCoCo
มุมมอง 4.8K2 ปีที่แล้ว
Java Test Coverage Using JaCoCo
Learn About Feign Clients Using Java Spring in 15 minutes
มุมมอง 18K2 ปีที่แล้ว
Learn About Feign Clients Using Java Spring in 15 minutes
Roblox Developers are earning over $2M a year? Let's learn how to make Roblox games!
มุมมอง 1243 ปีที่แล้ว
Roblox Developers are earning over $2M a year? Let's learn how to make Roblox games!
Publish an OAuth Google Login App For Free Using Heroku, ReactJS, and Java Spring Boot
มุมมอง 3.2K3 ปีที่แล้ว
Publish an OAuth Google Login App For Free Using Heroku, ReactJS, and Java Spring Boot
Google OAuth Login Application Using Java Spring Boot and ReactJS in Less Than 15 Minutes
มุมมอง 35K3 ปีที่แล้ว
Google OAuth Login Application Using Java Spring Boot and ReactJS in Less Than 15 Minutes
Quartz with Spring Boot using Docker and PostgreSQL
มุมมอง 3.9K3 ปีที่แล้ว
Quartz with Spring Boot using Docker and PostgreSQL
AWS SNS and SQS in 10 Minutes Using Docker and Java Spring Boot
มุมมอง 3.5K3 ปีที่แล้ว
AWS SNS and SQS in 10 Minutes Using Docker and Java Spring Boot

ความคิดเห็น

  • @YoutuberNTD
    @YoutuberNTD 10 วันที่ผ่านมา

    Thank you so much

  • @KENTOSI
    @KENTOSI 26 วันที่ผ่านมา

    Hey thanks for the solution, but is the worst case really n^2? Seems more like it would be n^4. Imagine a large grid of all 1s. You'll immediately enter the first tile and do a dfs across all tiles (n^2). But then when you exit the function you're still needing to loop across every time even though you've already covered it. Am I missing something here?

  • @SanthoshaK-px8rq
    @SanthoshaK-px8rq หลายเดือนก่อน

    Thank you. This method understood neatly, but we need put effort for the tracing. anyway this easy method is understood finally.

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

    Amazing video, can you share something that sends custom metrics from Springboot to DD? Thanks

  • @mockmock-wv8gi
    @mockmock-wv8gi หลายเดือนก่อน

    By far the most clear explanation I've seen thank you!!

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

    i am trying to do a delay trigger based on certain logic but job and triggers are not going to my postgres DB. Also, if server gets re-deployed, triggers are getting lost. How can this be fixed?? LEtme know if any specific details you need for debugging. Thanks.

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

    Obrigado amigo, excelente conteúdo, eu consegui entender facilmente com sua explicação!

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

    How do i hit an API from react application? Its giving me 302 found error. Something related to redirect URL.

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

    Nice explanation buddy,you have explained very well 👍👍👍

  • @user-xn4pp9xj1g
    @user-xn4pp9xj1g 2 หลายเดือนก่อน

    I see all metrics are with a epoch second timestamp. Can we plot millisecond precision timestamps?

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

    Thank you very much!

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

    Could you showcase what are the benefits of Datadog vs. Dynatrace if any? I see Datadog stocks are of higher value, but I cannot see where the benefits of Datadog usages are when comparing it to Dynatrace?

  • @znhy-qd7lk
    @znhy-qd7lk 3 หลายเดือนก่อน

    nice video🫡

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

    It's helpful. Thank you! But how we can get access token and use it in future ? example: use for google API driver

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

    your code is way too complex

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

    You are the best <3

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

    excellent explaination, you deserve more followers, I have my google interview 2 days later, wish me luck fam <3

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

    I spent 3 hours to consume a local queue and you save me

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

    I was searching for something like this, of course, I have to check how it would work in a K8s cluster so the Scheduler is not starting the Job on 2 servers. When I understand the code right, you have to implement a job (like your Action), of course there are possibilities to make generic jobs, but putting new jobs classes in, that would be hard because you would have to deploy it, there is no plugin managment possible. A small price to pay though.

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

      Quartz supports Cluster configurations for multiple instances. www.quartz-scheduler.org/documentation/quartz-1.8.6/configuration/ConfigJDBCJobStoreClustering.html

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

    after few similar 2D traversing case, I've finally have a better understanding of the dfs algorithm and this video helped a lot. thanks

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

    awesome, thanks buddy

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

    Excellent video, thanks!

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

    Hi, thanks a lot for your tutorial, you helped me a lot. Greetings from Ukarine :)

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

    Exactly what I was looking for 🔥💯

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

    Thanks for wonderful video, but i would like to enable the APM for my application and i am unable to find the easy way to enable using micrometer but as per the documentation of data-dog its looks very simple, so do you have any experience with the APM in java using Micrometer

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

    Thanks Tech Tutor 😊

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

    Maybe I'm too late to the party but I'm trying to implement this exact thing but I just don't understand how to validade the authentication from the frontend. I already have a spring boot app with jwt authentication. oauth2 implementation would be simple if I wanted to use the spring boot app as frontend, which is not the case. I want to have a react server just like your example. I managed to implement most of the things but now when I login with oauth2, right after logging, it redirects me to the localhost:3000/oauth2/redirect as expected but there is no token? I'm confused, is oauth2 suposed to generate a jwt?

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

    Hey, I've setup OAuth 2 with google on the backend, However i'm so confused on how can we access restricted endpoints on the front end. I can authenticate in spring but i believe there's a gap in knowledge of how can our frontend app redirect to this backend login and once it's authorized get the protected endpoint data?

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

      Got any solution?

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

      Yeah I started using .net 😅

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

    Hi, Is there an updated version @9:12 like below ? I am looking for logout functionality @Configuration @EnableWebSecurity public class SecurityConfig { @Bean public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception { http .csrf() .disable() .authorizeHttpRequests() .anyRequest() .authenticated() .and() .logout() .logoutUrl("/sign-in") .and() .oauth2Login() ; return http.build(); } }

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

    Nice. I will try this, but I know I need to tweak this as I am embedding react inside boot

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

    Thanks

  • @user-vg7jz1sz5k
    @user-vg7jz1sz5k 10 หลายเดือนก่อน

    hi how to add custom metric into datadog with datadog-micrometer-regisrty we are using datadog instrumentation agent into prod env which generates metric automatically but to add custom metric in this case?

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

    One question though, once the authentication is done, how do you manage authorizations of users ? google and facebook (let's say) probably do not have the same GrantedAuthorities in their models. *a)* you need a database of your own to CRUD authorizations _or_ *b)* you write data to google or facebook's own user repositories so that at login time they are given back to you. Any comments ?

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

      I haven't dug into this recently, but the last time that I looked into it, you still had to manage your own roles. For my implementation this involved using my own database as you already assumed and then checking to see which role the user had after Google confirmed the user identity.

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

    Immediately subscribed ❤❤ I hate these "typer" videos without explaining where and why and how, this is very much like a proper engineer style ! Well done 👍👍👍👍✔✔

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

    Hello, nice video! But I have some questions. I thought it's necessary to add flyway settings in application.yml? I have sume problems. There is a remote server that is connected to my application through a dockerfile, and the database is also remote. Flyway seems to be added to the project, but it doesn't create anything. What should I do?

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

      The default for Java Spring is that it will use your database connection configuration in the application.yml for flyway and it will by default run migrations from the /resources/db/migration folder unless you configure it differently via an override. You can manually set flyway properties in the yml file if you want to change things. I would start by checking to see if defaults are being overridden.

  • @user-zu4lx3lc5o
    @user-zu4lx3lc5o 11 หลายเดือนก่อน

    Thanks a lot for making this video, dumb question if we have multiple envs, do we have separate api key for each env ?

    • @user-zu4lx3lc5o
      @user-zu4lx3lc5o 11 หลายเดือนก่อน

      I am trying to understand how would the metrics query would change in datadog for different envs? as the value is going to be firstApi or secondApi for all envs.

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

      You typically will set a configuration for a tag that indicates the environment so you can filter on it. docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/?tab=helm

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

    hi! this type of tutorials are amazing :) definitely better than skipping and showing copy-paste code of any app :) helps people to get to know how to learn instead of just how to solve particular problem. subbed for future :)

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

    Thanks tech tutor 😊

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

    THank you kindly! Amazing video!

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

    nice

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

    Thanks a lot, this tutorial is all i need for spring boot and datadog. Please next tutorial for logs alert and monitoring.

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

    what setting at Facebook login settings fixed the error? i am getting same error msg

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

    Is this the guy from the show Sillicon Valley? :O Did you create Pied Piper!?

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

    Thanks a lot for making this tutorial. Sometimes all we need is a starting point. I started learning datadog yesterday and was stuck how can I integrate with my spring app. It really helped that its superrrrrrrrrrrrr easy, you just have to not give-up. Once again THANKS!!

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

    Thank you for the tutorial! I'm building an application that has Users stored in my database with specific UserRoles, and I want to be able to authenticate with google to require the access token for each request. How would I go about assigning these authorities to specific users in my database based on the UserRole?

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

      You could store the user information that you get back from Google and then use that to fetch a role that you assign the user that you would store in your database.

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

    great work but a. bit vconfused, how do I execute a task with this implementation. e.g want to execute an email job with this implementation. is this possible? if yes how?

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

      Yes, you would put code in your action that is being triggered by Quartz to send an email. github.com/The-Tech-Tutor/quartz/blob/master/src/main/java/com/spring/quartz/action/Action.java You could use something like SendGrid.

  • @88FEATEATEEFFEEE
    @88FEATEATEEFFEEE ปีที่แล้ว

    Super helpful how you explain how to find stuff. I wish every tutorial was like this

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

    I noticed that there are some portions that got cut off on the bottom of my screen. Please let me know if you have any questions. On the Datadog website where I was waiting for the Docker image to connect, a finish button will become enabled when it is able to establish a connection to Datadog. The other part is after that I stop the datadog image where you can view the images running with: docker ps Then take the container ID and you can shut down that container with: docker stop <container ID>

    • @user-st7jd5si2z
      @user-st7jd5si2z 10 หลายเดือนก่อน

      Sorry, boy I can’t find info - when spring boot app doesn’t need agent Could you share reference, please?

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

    great tutorial, best one on this topic. took too long to find

  • @David-wf3cc
    @David-wf3cc ปีที่แล้ว

    I've created this exactly as in the github, and configured the uri urls in google, but for some reason I get unauthorized redirect uri error , any idea why this might be?