Tech Tutor
Tech Tutor
  • 44
  • 179 164
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
Переглядів: 2 242

Відео

Java Spring Netflix Eureka Quick Start
Переглядів 1,2 тис.Рік тому
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
Переглядів 9 тис.Рік тому
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
Переглядів 2,3 тис.Рік тому
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: ua-cam.com/video/ug_89Gx0Ow8/v-deo.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 #sprin...
Code An Arm Wrestling App Using Java Spring Boot with Less than 150 Lines of Code
Переглядів 1982 роки тому
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: ua-cam.com/video/b6pYcTr4pCs/v-deo.html Spring Initialzr: start.sprin...
Watch Me Code an OAuth2 Google Login Client with Java Spring
Переглядів 34 тис.2 роки тому
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
Переглядів 2,3 тис.2 роки тому
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 ua-cam.com/video/b6pY...
Get Started with Java Spring Kafka in 15 Minutes
Переглядів 3022 роки тому
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 ua-cam.com/video/b6pYcTr4pCs/v-deo.html Docker Installation www.docker.com/get-started Windows Installation and H...
Kafka, Kiwi, and Zookeeper using Docker in Less Than 10 Minutes
Переглядів 6642 роки тому
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 ua-cam.com/video/b6pYcTr4pCs/v-deo.html Docker Installation www.docker.com/g...
Game of Life | Java | LeetCode Solution 289
Переглядів 4,1 тис.2 роки тому
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
Переглядів 1,7 тис.2 роки тому
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
Переглядів 4172 роки тому
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
Переглядів 3,8 тис.2 роки тому
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
Переглядів 7812 роки тому
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
Переглядів 3892 роки тому
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
Переглядів 1502 роки тому
Delete Node in a Linked List | LeetCode 237 | Java
Reverse String | LeetCode 344 | Java
Переглядів 1292 роки тому
Reverse String | LeetCode 344 | Java
Contains Duplicate | LeetCode 217 | Java
Переглядів 2622 роки тому
Contains Duplicate | LeetCode 217 | Java
Rotate Array | LeetCode 189 | Java
Переглядів 5162 роки тому
Rotate Array | LeetCode 189 | Java
Best Time to Buy and Sell Stock II | LeetCode 122 | Java
Переглядів 4082 роки тому
Best Time to Buy and Sell Stock II | LeetCode 122 | Java
Remove Duplicates from Sorted Array | LeetCode 26 | Java
Переглядів 1,5 тис.2 роки тому
Remove Duplicates from Sorted Array | LeetCode 26 | Java
Paging and Sorting a H2 Database in Less Than 80 Lines of Code!
Переглядів 2343 роки тому
Paging and Sorting a H2 Database in Less Than 80 Lines of Code!
Roblox Remote Events: Client to Server
Переглядів 9133 роки тому
Roblox Remote Events: Client to Server
Java Test Coverage Using JaCoCo
Переглядів 5 тис.3 роки тому
Java Test Coverage Using JaCoCo
Learn About Feign Clients Using Java Spring in 15 minutes
Переглядів 19 тис.3 роки тому
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!
Переглядів 1263 роки тому
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,3 тис.3 роки тому
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
Переглядів 37 тис.3 роки тому
Google OAuth Login Application Using Java Spring Boot and ReactJS in Less Than 15 Minutes
Quartz with Spring Boot using Docker and PostgreSQL
Переглядів 4 тис.3 роки тому
Quartz with Spring Boot using Docker and PostgreSQL
AWS SNS and SQS in 10 Minutes Using Docker and Java Spring Boot
Переглядів 3,7 тис.3 роки тому
AWS SNS and SQS in 10 Minutes Using Docker and Java Spring Boot

КОМЕНТАРІ

  • @kedarsilla2692
    @kedarsilla2692 2 місяці тому

    Nailed it.. thanks for showing the final output how the aggregated data looks like.

  • @eugenicko
    @eugenicko 2 місяці тому

    Thank you. Can you explain, how to do a graceful shutdown for this app?

  • @krishnan.muthukumar
    @krishnan.muthukumar 2 місяці тому

    Thanks for this video.Good One!

  • @AdrikaMandal-b9t
    @AdrikaMandal-b9t 3 місяці тому

    Thank you Sir

  • @YoutuberNTD
    @YoutuberNTD 3 місяці тому

    Thank you so much

  • @KENTOSI
    @KENTOSI 4 місяці тому

    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 4 місяці тому

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

  • @dhrub6
    @dhrub6 5 місяців тому

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

  • @mockmock-wv8gi
    @mockmock-wv8gi 5 місяців тому

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

  • @niteshgupta212
    @niteshgupta212 5 місяців тому

    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 5 місяців тому

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

  • @kushalappaca5324
    @kushalappaca5324 5 місяців тому

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

  • @umarfarooqshaik2504
    @umarfarooqshaik2504 6 місяців тому

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

  • @epam_stasilho
    @epam_stasilho 6 місяців тому

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

  • @MorbidMicke
    @MorbidMicke 6 місяців тому

    Thank you very much!

  • @sebastijanp3
    @sebastijanp3 6 місяців тому

    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 6 місяців тому

    nice video🫡

  • @conganhphung1488
    @conganhphung1488 7 місяців тому

    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 7 місяців тому

    your code is way too complex

  • @matadorxp1
    @matadorxp1 8 місяців тому

    You are the best <3

  • @CodeCreated
    @CodeCreated 8 місяців тому

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

  • @fredBelisario
    @fredBelisario 8 місяців тому

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

  • @Spelter
    @Spelter 9 місяців тому

    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 9 місяців тому

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

  • @dhanniekristanto
    @dhanniekristanto 9 місяців тому

    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 10 місяців тому

    awesome, thanks buddy

  • @jkendall1975
    @jkendall1975 10 місяців тому

    Excellent video, thanks!

  • @artur4653
    @artur4653 10 місяців тому

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

  • @KevinAvignon_SoftwareDev
    @KevinAvignon_SoftwareDev 11 місяців тому

    Exactly what I was looking for 🔥💯

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

    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 Рік тому

    Thanks Tech Tutor 😊

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

    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 Рік тому

    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 7 місяців тому

      Got any solution?

    • @nezyha
      @nezyha 7 місяців тому

      Yeah I started using .net 😅

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

    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 Рік тому

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

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

    Thanks

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

    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 Рік тому

    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 Рік тому

      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 Рік тому

    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 Рік тому

    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 Рік тому

      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.

  • @sidvenkat-p8y
    @sidvenkat-p8y Рік тому

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

    • @sidvenkat-p8y
      @sidvenkat-p8y Рік тому

      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 Рік тому

      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 Рік тому

    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.

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

    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.