Techno Town Techie
Techno Town Techie
  • 93
  • 1 220 209
Mastering Kafka with Spring Boot | Apache Kafka Crash Course | Spring Boot Apache Kafka
Welcome to our comprehensive guide to using Apache Kafka with Spring Boot! In this video, we delve into the fundamental concepts and advanced techniques that will empower you to harness the full potential of Kafka in your applications.
We start with the basics, covering what Kafka is and its key components such as producers, consumers, topics, and partitions. You'll learn about the flow of data within Kafka and explore real-world use cases where Kafka shines.
Next, we dive into practical demonstrations. Discover how to create Kafka producers efficiently and send messages both synchronously and asynchronously. Learn the nuances of sending messages with and without keys, and explore strategies for efficient message routing and consumption.
We then explore advanced topics including custom message production and consumption, handling consumer partition rebalancing with multiple consumers, and optimizing offset commitments for reliability.
Throughout the video, we emphasize best practices for error handling and discuss considerations for deploying Kafka applications outside of cloud environments or Kubernetes.
Whether you're new to Kafka or looking to deepen your understanding, this video provides actionable insights and practical examples that will accelerate your journey towards mastering Kafka with Spring Boot.
Don't forget to like, comment, and subscribe for more tutorials on Spring Boot, Kafka, and other cutting-edge technologies!
docs.spring.io/spring-kafka/reference/kafka/receiving-messages/message-listener-container.html
START THE KAFKA ENVIRONMENT:
NOTE: Your local environment must have Java 8+ installed.
Apache Kafka can be started using ZooKeeper or KRaft. To get started with either configuration follow one of the sections below but not both.
Kafka with ZooKeeper:
Run the following commands in order to start all services in the correct order:
# Start the ZooKeeper service
$ bin/zookeeper-server-start.sh config/zookeeper.properties
Open another terminal session and run:
# Start the Kafka broker service
$ bin/kafka-server-start.sh config/server.properties
Once all services have successfully launched, you will have a basic Kafka environment running and ready to use.
Kafka with KRaft:
Kafka can be run using KRaft mode using local scripts and downloaded files or the docker image. Follow one of the sections below but not both to start the kafka server.
Generate a Cluster UUID
$ KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)"
Format Log Directories
$ bin/kafka-storage.sh format -t $KAFKA_CLUSTER_ID -c config/kraft/server.properties
Start the Kafka Server
$ bin/kafka-server-start.sh config/kraft/server.properties
มุมมอง: 164

วีดีโอ

Best Productivity Boosting IntelliJ IDEA Plugins
มุมมอง 3.7K6 หลายเดือนก่อน
JetBrains IntelliJ-based IDEs are powerful, feature-rich developer tools with countless extensibility options. Any user can add features to the IDEs by installing plugins from JetBrains Marketplace, where you can find extensions that cover most aspects of your work. The range of available plugins includes integrations with code review services, CI/CD, static analysis, productivity tools, variou...
New Spring Boot 3.1 Docker Compose Module | Docker Compose Life Cycle | Docker compose profiles
มุมมอง 5637 หลายเดือนก่อน
The spring-boot-docker-compose module can be included in a project to provide support for working with containers using Docker Compose. Spring Boot 3.1's ConnectionDetails: spring.io/blog/2023/06/19/spring-boot-31-connectiondetails-abstraction My Top Playlists: Spring Boot with Angular : th-cam.com/play/PL4TnYdea-xTLI6sC-K78PprPMD0RljCYh.html Spring Boot with Docker & Docker Compose : th-cam.co...
Spring boot 3.2 JDBC Client | Auto configured JDBC Client for database interactions
มุมมอง 3907 หลายเดือนก่อน
You'll learn in this video how to simplify database interactions by using Spring Boot 3.2, the JDBC client. In Spring Boot 3.2, the JDBC client stands out for its automatic configuration feature. This means that requesting a bean in our application instantly provides us with an instance, eliminating the need for manual setup and streamlining the process effortlessly. My Top Playlists: Spring Bo...
New Spring Boot Rest Client | Consuming a RESTful Web Service using REST Client
มุมมอง 8078 หลายเดือนก่อน
Learn how to use the Spring RestClient interface for performing HTTP requests, using a fluent and synchronous API CRUD operations and how to handle errors. My Top Playlists: Spring Boot with Angular : th-cam.com/play/PL4TnYdea-xTLI6sC-K78PprPMD0RljCYh.html Spring Boot with Docker & Docker Compose : th-cam.com/play/PL4TnYdea-xTJ35eW6UbWAROBIp3KENejp.html Spring Boot with Kubernetes : th-cam.com/...
Functional Interface | Lambda Expression in Java | Primitive & Compose functions | Diamond problem
มุมมอง 2209 หลายเดือนก่อน
The video covers below mentioned key aspects of functional programming in java. Explains the concept and importance of interfaces with a single abstract method.Discusses default and static methods in interfaces for added functionality.Demonstrates the use and significance of pre-defined functions in Java.Introduces various functional interface types like Predicate, Consumer, Supplier, and Funct...
What is functional programming | Key concepts | Advantages & Disadvantages
มุมมอง 1489 หลายเดือนก่อน
In this video, you will discover what functional programming is, how it works, and what the essential concepts and benefits and downsides are. My Top Playlists: Spring Boot with Angular : th-cam.com/play/PL4TnYdea-xTLI6sC-K78PprPMD0RljCYh.html Spring Boot with Docker & Docker Compose : th-cam.com/play/PL4TnYdea-xTJ35eW6UbWAROBIp3KENejp.html Spring Boot with Kubernetes : th-cam.com/play/PL4TnYde...
Spring Boot ElasticSearch using Spring Data | Query DSL | Fuzziness | Aggregations
มุมมอง 3.9K10 หลายเดือนก่อน
Learn how to use the Spring Elastic Search Client, Query DSL, fuzziness, and aggregations in this video. Github Links: github.com/shameed1910/spring-boot-elasticsearchclient github.com/shameed1910/spring-boot-elastic-search My Top Playlists: Spring Boot with Angular : th-cam.com/play/PL4TnYdea-xTLI6sC-K78PprPMD0RljCYh.html Spring Boot with Docker & Docker Compose : th-cam.com/play/PL4TnYdea-xTJ...
Spring Boot Scheduler | Spring Job Scheduler | @Scheduled Annotation | Async Scheduler
มุมมอง 35K2 ปีที่แล้ว
In this video, I will explain how the Spring @Scheduled annotation can be used to configure and schedule tasks and will explain about fixed rate, fixed delay, async scheduler and task scheduler. My Top Playlists: Spring Boot with Angular : th-cam.com/play/PL4TnYdea-xTLI6sC-K78PprPMD0RljCYh.html Spring Boot with Docker & Docker Compose : th-cam.com/play/PL4TnYdea-xTJ35eW6UbWAROBIp3KENejp.html Sp...
LazyInitializationException in SpringBoot JPA | could not initialize proxy - no Session | SpringBoot
มุมมอง 9K2 ปีที่แล้ว
In this video you will learn how to solve LazyInitializationException error when working with JPA and Hibernate in Spring Boot and Spring Data applications. My Top Playlists: Spring Boot with Angular : th-cam.com/play/PL4TnYdea-xTLI6sC-K78PprPMD0RljCYh.html Spring Boot with Docker & Docker Compose : th-cam.com/play/PL4TnYdea-xTJ35eW6UbWAROBIp3KENejp.html Spring Boot with Kubernetes : th-cam.com...
Legato Interview Questions| Java interview | SpringBoot | MicroServices | MongoDB | Docker | AWS
มุมมอง 3.8K2 ปีที่แล้ว
Java8, Spring, SpringBoot, Microservices, MongoDB, AWS and Docker questions were asked as part of Legato interview. Spring Boot Custom JPA repository link : th-cam.com/video/56pK77U307g/w-d-xo.html
Spring Boot Autowiring | @Autowired | @Qualifier | @Primary | @Resource | @Inject
มุมมอง 15K2 ปีที่แล้ว
You will learn how to enable autowiring and the various ways to autowire beans and resolving bean conflicts using @Qualifier annotation, as well as you will learn @Primay, @Resource and @Inject annotations. My Top Playlists: Spring Boot with Angular : th-cam.com/play/PL4TnYdea-xTLI6sC-K78PprPMD0RljCYh.html Spring Boot with Docker & Docker Compose : th-cam.com/play/PL4TnYdea-xTJ35eW6UbWAROBIp3KE...
Spring Boot AOP | AOP Custom Annotation | Spring Boot AOP AspectJ | Pointcut Designators
มุมมอง 46K2 ปีที่แล้ว
You will learn what is AOP and what are types of advices are there and how to apply custom annotation on point cut. Git Hub Link: github.com/shameed1910/spring-boot-aop.git My Top Playlists: Spring Boot with Angular : th-cam.com/play/PL4TnYdea-xTLI6sC-K78PprPMD0RljCYh.html Spring Boot with Docker & Docker Compose : th-cam.com/play/PL4TnYdea-xTJ35eW6UbWAROBIp3KENejp.html Spring Boot with Kuberne...
Spring Cloud AWS Simple Email Service | AWS SES | Amazon Web Services
มุมมอง 10K2 ปีที่แล้ว
Amazon Simple Email Service (SES) is a cloud-based email service that provides cost-effective, flexible and scalable way for businesses of all sizes to keep in contact with their customers through email. SPRING BOOT AWS Playlist link: th-cam.com/play/PL4TnYdea-xTJpaL2XigZ2ulcPyoRPjHAI.html My Top Playlists: Spring Boot with Angular : th-cam.com/play/PL4TnYdea-xTLI6sC-K78PprPMD0RljCYh.html Sprin...
Send SMS from AWS SNS to a mobile | AWS Simple Notification Service | Spring Boot with Amazon SNS
มุมมอง 12K2 ปีที่แล้ว
You will learn how to send SMS from AWS SNS to a mobile number and sms topic. Previous Video Spring Boot With AWS SNS : th-cam.com/video/cJHuEpwlOQM/w-d-xo.html SPRING BOOT AWS Playlist link: th-cam.com/play/PL4TnYdea-xTJpaL2XigZ2ulcPyoRPjHAI.html My Top Playlists: Spring Boot with Angular : th-cam.com/play/PL4TnYdea-xTLI6sC-K78PprPMD0RljCYh.html Spring Boot with Docker & Docker Compose : th-ca...
Spring Boot with AWS SNS | Send Notifications from SNS Topic to SQS Queue and Email | AWS SNS
มุมมอง 6K2 ปีที่แล้ว
Spring Boot with AWS SNS | Send Notifications from SNS Topic to SQS Queue and Email | AWS SNS
Spring Boot with Amazon SQS | Spring Cloud AWS | Amazon Web Services | AWS Simple Queue Service
มุมมอง 9K2 ปีที่แล้ว
Spring Boot with Amazon SQS | Spring Cloud AWS | Amazon Web Services | AWS Simple Queue Service
Spring Boot Restful CRUD API using AWS DynamoDB | AWS DynamoDB Mapper | AWS DynamoDB
มุมมอง 11K2 ปีที่แล้ว
Spring Boot Restful CRUD API using AWS DynamoDB | AWS DynamoDB Mapper | AWS DynamoDB
AWS Lambda with API Gateway | Serverless Architecture | Spring Cloud Function
มุมมอง 6K2 ปีที่แล้ว
AWS Lambda with API Gateway | Serverless Architecture | Spring Cloud Function
Spring Cloud Function on AWS Lambda | Serverless Architecture using AWS Lambda | AWS
มุมมอง 11K2 ปีที่แล้ว
Spring Cloud Function on AWS Lambda | Serverless Architecture using AWS Lambda | AWS
Spring Boot Caffeine Cache Integration | Cache in Spring Boot
มุมมอง 7K2 ปีที่แล้ว
Spring Boot Caffeine Cache Integration | Cache in Spring Boot
Spring Data Mongo DB TTL indexes | Time To Live Indexes in Mongo DB
มุมมอง 3.8K2 ปีที่แล้ว
Spring Data Mongo DB TTL indexes | Time To Live Indexes in Mongo DB
Spring Boot + RabbitMQ Publisher & Subscriber Example | Implement All RabbitMQ Exchange Types | AMQP
มุมมอง 19K3 ปีที่แล้ว
Spring Boot RabbitMQ Publisher & Subscriber Example | Implement All RabbitMQ Exchange Types | AMQP
Project Lombok + Spring Boot | Restful CRUD API example | Java | Spring Boot | Spring MVC
มุมมอง 6K3 ปีที่แล้ว
Project Lombok Spring Boot | Restful CRUD API example | Java | Spring Boot | Spring MVC
Spring Boot Admin Server | Managing & Monitoring Microservices by using Spring Boot Admin Server
มุมมอง 20K3 ปีที่แล้ว
Spring Boot Admin Server | Managing & Monitoring Microservices by using Spring Boot Admin Server
Spring Boot Interceptor | Handler Interceptor | Web MVC Configuration Support
มุมมอง 18K3 ปีที่แล้ว
Spring Boot Interceptor | Handler Interceptor | Web MVC Configuration Support
Spring Boot Custom Filters | Filter Registration Bean | Swagger Integration with Filters | WebFilter
มุมมอง 4.9K3 ปีที่แล้ว
Spring Boot Custom Filters | Filter Registration Bean | Swagger Integration with Filters | WebFilter
Spring Boot Mapstruct | Lombok & Mapstruct with Spring Boot CRUD API | Java Bean Mappings
มุมมอง 55K3 ปีที่แล้ว
Spring Boot Mapstruct | Lombok & Mapstruct with Spring Boot CRUD API | Java Bean Mappings
Spring security with azure active directory
มุมมอง 28K3 ปีที่แล้ว
Spring security with azure active directory
Build and Deploy Spring Boot with Mongo DB App on Azure | Secure DB secrets with key vaults
มุมมอง 7K3 ปีที่แล้ว
Build and Deploy Spring Boot with Mongo DB App on Azure | Secure DB secrets with key vaults

ความคิดเห็น

  • @jagannathsahu1087
    @jagannathsahu1087 7 ชั่วโมงที่ผ่านมา

    Thanks

  • @meryemOuyouss2002
    @meryemOuyouss2002 วันที่ผ่านมา

    Nice ,you explain mapstruct clearly,I like really like it

  • @9669685272
    @9669685272 4 วันที่ผ่านมา

    Useful video. Keep uploading new videos.

  • @natureloverJ
    @natureloverJ 18 วันที่ผ่านมา

    I think the name should be - Techno Techie Town Or Techie Techno Town

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

    very well explained....thanks a lot

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

    for aan example of bidirectional one t one when the get all is called on referencing entity it goes in infinte loop, not sure you face same issue

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

    I get a 404 error when I use @Controller instead of @RestController

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

    how to build multi match query on different indexes, e.g. There are brands table, categories table, products table, so I there will be 3 indexes for each kind of data. Although Products do link with categories and brands, But How to combine results of multiple indexs into single query.

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

    i have a doubt, if i want to upload this code to my github repository, How i suppose to load my Key: serviceAccountKey.json. I mean that suppose to be a secret. How i solve this? in order to public my projects? Futhermore the test database firestore, is secure, i refer about the url? Please somebody help me with this. Thank you very much!

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

    Recommended

  • @AnaGeorgia-cv5hv
    @AnaGeorgia-cv5hv หลายเดือนก่อน

    When I run the "docker build -t angular-app .", the "run npm build --prod" step keeps running and doesn't stop. Can you help me, please?

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

    After deploying the angular application to K8s my nginx is up but with the k8s port it says site can't be reached. Seems like it is unable to find the html file. Any suggestions ?

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

    Is there any alternative for Filezilla

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

    what is that font in the IDE bro? i want to use the same!

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

    Very good tutorial. ❤

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

    where is github link?

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

    This is a so nice tutorial👏thank you bro

  • @x-win7885
    @x-win7885 2 หลายเดือนก่อน

    Hey do you have any reference to perform all these queries in new Elasticsearch version?

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

    Thank you

  • @jr-hp7er
    @jr-hp7er 2 หลายเดือนก่อน

    With springdata elastic search lots of deprecation is done, like we cannot use aggregationbuiler, etc ...can you please guide on this??

  • @jr-hp7er
    @jr-hp7er 2 หลายเดือนก่อน

    Thanks alot....this is amazing...just 1 question, is the aggreagationbuilder deprecated in the latest version??

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

    Tq

  • @x-win7885
    @x-win7885 2 หลายเดือนก่อน

    Thanks for the detailed explanation.

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

    Perfect man

  • @prashantpatil-wq1lt
    @prashantpatil-wq1lt 2 หลายเดือนก่อน

    Thanks 👌👍

  • @sudheerkumar-tp1mg
    @sudheerkumar-tp1mg 2 หลายเดือนก่อน

    great video

  • @AH-dh7le
    @AH-dh7le 3 หลายเดือนก่อน

    je peux faire un moteur de recherche pour un comparateur de prix avec ce combo elastic et springboot , si ca existe faire un tuto et mercii

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

    clear and good explanation with examples

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

    hi brother you have used kubernates , so can i skip docker. is docker not important in projects

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

    Excellent work bro..

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

    Is there a way to user JavaMailSender in the MailService class instead of SimpleMailMessage??? I need to use MIME content which is supported by the JavaMailSender cuz I need to send an HTML string format with HTML tags and all, but... the SimpleMailMessage doesn't support HTML string format. The e-mail doensn't interpret the HTML tags... do you think it's possible?

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

    2 schemes created in myself?

  • @user-te2nh7wt4q
    @user-te2nh7wt4q 3 หลายเดือนก่อน

    I have deployed my springboot app on azure and need to connect it to Database which is hosted on another IP outside azure. How can I make DB connection from spring boot to Oracle database and what changes need to be done on spring boot app

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

    Can you please provide github url for your repo?

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

    Thanks a lot Techno Town Techie <3

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

    Thanks a lot Techno Town Techie <3

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

    Thanks a lot Techno Town Techie <3

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

    Thanks a lot Techno Town Techie <3

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

    Thanks a lot Techno Town Techie <3

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

    Thanks a lot Techno Town Techie <3

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

    thanks. I added @Transactional annotation on top of the service and it worked

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

    What if list contains strings?

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

    Good Keep it up!

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

    thanks a lot

  • @user-tq1ce8cg9b
    @user-tq1ce8cg9b 4 หลายเดือนก่อน

    Chala manchi informational video... Thank you Hameed

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

    greate explaination in a single vidoe , well done and thank you very much sir

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

    https.get() return -1 what does that mean ?

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

    Thanks man❤, that's a useful one

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

    Excellent work you have done sir

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

    Really Well Explained, thank you :)