🚀 Apache Kafka Crash Course With Spring Boot 3.0.x |

  Рет қаралды 119,351

Java Techie

Java Techie

Күн бұрын

Пікірлер: 156
@mfolarin
@mfolarin 7 ай бұрын
00:00:00 course outline 00:00:58 kafka for beginners 00:14:45 components and architecture 00:29:54 kafka installation 00:41:27 kafka CLI and workflows 01:22:09 installing kafka using docker-compose 01:37:43 kafka producer example using springboot 02:02:46 kafka consumer example using springboot 02:29:48 kafka serialize & deserialize 02:54:19 kafka partition 03:10:33 kafka e2e testing in spring boot with test containers 03:33:15 kafka error handling 04:01:12 kafka schema registry
@Javatechie
@Javatechie 7 ай бұрын
Thank you so much buddy ☺️
@samirattar
@samirattar 7 ай бұрын
thanks!
@vaibhav0013
@vaibhav0013 27 күн бұрын
Awesome explanation sir.....please make video on AWS....waiting your next video
@Javatechie
@Javatechie 27 күн бұрын
Aws is already there please checkout my aws Playlist
@RussellFroggatt-el5om
@RussellFroggatt-el5om 4 ай бұрын
The sign of a good teacher is to make things simple. Very good.
@ascar66
@ascar66 7 ай бұрын
Oh now I know what I'm gonna do this weekend. Thank you
@vaibhavsrivastava4645
@vaibhavsrivastava4645 6 ай бұрын
Thank you so much for your efforts. After finishing this tutorial i have now got enough knowledge around Kafka and associated tools. I am very eager in a tutorial on Ktable and Kstreams of Kafka. Kudos.
@srinivasreddy552
@srinivasreddy552 7 ай бұрын
@JavaTechie, as long as you are there, no issues for us to learn Java Ecosystem tools and software, many thanks.
@gopisambasivarao5282
@gopisambasivarao5282 7 ай бұрын
Thanks Basant😊.. Appreciate your efforts, these are all our previous videos.. will go through one more time.. waiting for new topics 😊.. God bless You!!!!
@143vishy
@143vishy 3 ай бұрын
At highlevel its very good to understand flow, but it would be great if you can add a note of API's usage and its importance. Ex: Why we are using consumerFactroy? why we have to use KafkaTemplate? and what all the other relevant API's can be considered?
@mikedesta3520
@mikedesta3520 6 ай бұрын
Good Job Basant, thank you so much! All your videos are just amazing. Keep providing us with such amazing tutorials
@subhronilsensarma3790
@subhronilsensarma3790 7 ай бұрын
@javaTechie.- I am someone who has hugely benefitted from your videos where you explained everything in detail. I am also a fan member of your channel. One small humble request if it is possible, please if you could kindly show us how to make the configurations of kafka in a windows machine. I have seen a lot of videos but most of them are misleading.
@Javatechie
@Javatechie 7 ай бұрын
Hello subhra . Thanks for following Javatechie and I am so happy to see you as a member of Javatechie. Could you please tell me what configuration you are expecting is it offset explorer or Kafka yaml configuration.
@subhronilsensarma3790
@subhronilsensarma3790 7 ай бұрын
@@Javatechie if you could show how the kafka, the zookeeper configuration setting is done in windows command prompt, because the settings would be very different from MAC right?
@subhronilsensarma3790
@subhronilsensarma3790 6 ай бұрын
Hi @Javatechie. Any plan on making the video of the topic I mentioned please.😔
@Javatechie
@Javatechie 6 ай бұрын
Hello buddy. No I don't have any plans at this moment because I Don't have windows OS with me now but i can suggest you to check out my old video which I did using windows .
@subhronilsensarma3790
@subhronilsensarma3790 6 ай бұрын
@@Javatechie Thank you man! Sorry for bothering you too much could you please provide me with the link?
@rishabhshukla5532
@rishabhshukla5532 6 ай бұрын
Gold Stuff, what a clear concise explanation, Thanks for your effort towards the community Basant.
@rajyahoob
@rajyahoob 4 ай бұрын
Another worthy tutorial, thanks for your effort as always. Actually there is lot to learn in this video such as Docker, types of kafka etc. Thank You for your effort Basant.
@kayalvizhidas6834
@kayalvizhidas6834 4 ай бұрын
Million thanks to Basant Sir.Always check Java techie if anything i wants to study.God bless
@fipabrate
@fipabrate 7 ай бұрын
Great video! Keep up the fantastic work. By the way, every time you say "why is it crying," it cracks me up! Keep those hilarious moments coming!
@Javatechie
@Javatechie 7 ай бұрын
Thank you for your word . Keep learning 🤓
@attrayadas8067
@attrayadas8067 7 ай бұрын
Much needed! Thanks for posting 👏
@NitinSingh-f4x
@NitinSingh-f4x 3 ай бұрын
What a Course . Best Teacher
@SoumedhT
@SoumedhT 7 ай бұрын
Thank you Basant sir, Love and great regards from Mumbai
@BloodIsBat
@BloodIsBat 7 ай бұрын
Great Share, Hoping for more like this.
@pankajkm884
@pankajkm884 16 күн бұрын
Thanks Basant.. Appreciate your efforts. Waiting more video on Ktable and Kstreams of Kafka and Spring Cloud Stream.
@ravi1341975
@ravi1341975 7 ай бұрын
Wow thanks for this JavaTechie.
@7tharan
@7tharan 7 ай бұрын
Please try to post about performance tuning in Java and SQL side
@dhaanaanjaay
@dhaanaanjaay 7 ай бұрын
Great video ! Please add chapters/timeline in case someone wants to back and take a quick look at particular section
@Javatechie
@Javatechie 7 ай бұрын
Noted will update that
@sagarvarade
@sagarvarade 4 ай бұрын
1:10:10 Offer letter :)
@karthikeyanrm3446
@karthikeyanrm3446 7 ай бұрын
@JavaTechie great one. can you please add the timer ? It would be really useful - for example we can straight away go to the consumer implementation for example.
@Javatechie
@Javatechie 7 ай бұрын
Yes i will add
@DevOps-AWS55
@DevOps-AWS55 2 ай бұрын
very useful and informative training on kafka with nice graphic illustrations
@kamlesh_k007
@kamlesh_k007 7 ай бұрын
Hello @JavaTechie thank you very very much for this course.Please add angular and react course as well if possible.We are waiting so long. Thank you very much.
@prathapkumarkesaboyina
@prathapkumarkesaboyina 7 ай бұрын
Very good Video. Need video on Kafka Connect and Connectors.
@balag2368
@balag2368 7 ай бұрын
You are really great bro. Thanks for the wonderful content.
@PappuKumar-ho3ek
@PappuKumar-ho3ek 7 ай бұрын
Thanks for uploading this video 😊
@tanveersyed1049
@tanveersyed1049 7 ай бұрын
Nice video sir pls make a video on real time use cases of Kafka ...
@mtalamona
@mtalamona 3 ай бұрын
Thanks for the tutorial! Could you be so kind as to explain me why un the Listener Integracion Test you do not consume the event withing the test, asserting the object sent is equal to the one recieved? Thanks!
@SidonStream
@SidonStream 13 күн бұрын
Love to study from you bro!❤
@ashokjena1319
@ashokjena1319 3 ай бұрын
Hi i am very happy to getting such a wonderful teacher to making understand easily thanks a lot
@Javatechie
@Javatechie 2 ай бұрын
Glad to hear that
@nadetdevfullstack7041
@nadetdevfullstack7041 7 ай бұрын
Very good ! Excellent !
@DineshM-u1w
@DineshM-u1w 3 ай бұрын
Thank you so much for your efforts.
@prashlovessamosa
@prashlovessamosa 7 ай бұрын
Dhanywad Basant sir
@karthikeyharishtiwari3437
@karthikeyharishtiwari3437 5 ай бұрын
Very Informative Tutorial but I have a question, In the Avro Lecture It is demonstrated that producer and consumer is in same project and whenever we make a change in employee.avsc file It changes the employee class in the defined package and now since both producer and consumer are in same project and are using employee class from same package that will not an issue, But If producer and Consumer are in different projects , then how do the changes we make in the employee.avsc file will be in sync with the Employee class in consumer. Asuming that I am using Avro and producer in a single project and Consumer in another project @Java Techie
@Javatechie
@Javatechie 5 ай бұрын
Yes if it's in different project then nothing to worry we are not generating Employee class manually right, consumer needs to just run mvn build it will create payload for you by reading the latest schema
@creative_mind2828
@creative_mind2828 Ай бұрын
Hi Basant Sir, Could you please create the video content for KAfka Streams, Tables and Kafka Connect as well. That will be really helpful.
@Javatechie
@Javatechie Ай бұрын
Yes man I will
@suraj7440
@suraj7440 7 ай бұрын
thank you for uploading such grate content - can you please make video for redis with real time example
@grrlgd3835
@grrlgd3835 7 ай бұрын
Thanks !!! More JT gold
@chrislyu7211
@chrislyu7211 6 ай бұрын
Absolutely fantastic
@shilpasingla1739
@shilpasingla1739 7 ай бұрын
Hi Basant, while creating topic via binary download you have used bootstrap-server localhost:9092 but with docker you have used zookeeper:2181. Can you pls tell reason for difference
@nikitapujahari1624
@nikitapujahari1624 4 ай бұрын
HI Thank you for this tutorial.. When will you release the part 2 of this series
@abdus_samad890
@abdus_samad890 7 ай бұрын
Thanks for making this course
@MyAsh1000
@MyAsh1000 3 ай бұрын
Thank you for this fantastic tutorial @javatechie. Please can you do a video on Debezium CDC with kinesis data streams, thank you.
@JeremiahAzilaku
@JeremiahAzilaku 7 ай бұрын
Thank you so much. Please will you be updating the Java AWS course any time soon?
@Javatechie
@Javatechie 7 ай бұрын
Java AWS already available please checkout AWS playlist buddy 🙂
@divaharm2534
@divaharm2534 7 ай бұрын
great Java Techie
@Phoenix-od2bp
@Phoenix-od2bp 7 ай бұрын
Hi Basant, I want to understand difference between client id and group id. Can you please explain with an example of usage
@softwareengineer5893
@softwareengineer5893 7 ай бұрын
partitions in a topic will not have depluicate data, meaning - if a topic has 3 partitions then a data will be present in all 3 partitions but ony 1...
@Javatechie
@Javatechie 7 ай бұрын
Yes only 1 partition will have that info it won't be spam in other
@hamednikbakht9708
@hamednikbakht9708 7 ай бұрын
very good
@ravi292008
@ravi292008 4 ай бұрын
Everything all and good, I noticed that in error handling part you are using some annotations for listner consumeEven which you never discussed about
@sagardarade
@sagardarade 5 ай бұрын
Thanks a ton Buddy
@dario20049
@dario20049 4 ай бұрын
💓 great course
@foddiebyage9696
@foddiebyage9696 Ай бұрын
Good content but please request to make a full fledged video ro use this in real time Microservices of huge data and track with that
@vik6330
@vik6330 Ай бұрын
🙏 Great 5 hours
@mayurnagdev5545
@mayurnagdev5545 6 ай бұрын
#JavaTechie , I noticed producer config values being printed in my IDE logs every time we threw exception for invalid IP address from the consumer . I guess that is because we are actually 'producing' to the DLT topic from the consumer? Please advise
@mmmcorp8505
@mmmcorp8505 7 ай бұрын
thanks for everything.
@vino7tech
@vino7tech 7 ай бұрын
Tq basen. 🎉🎉🎉🎉
@transetronmdefierv
@transetronmdefierv Ай бұрын
where i can see code of the above course.the github repo in description has different code base.
@Javatechie
@Javatechie Ай бұрын
I might missed it . Please check link in kafka Playlist for now . I will update soon
@RaviYadav-cx2pb
@RaviYadav-cx2pb 7 ай бұрын
Much needed if possible then mysql or postgresql db integration between them
@Javatechie
@Javatechie 7 ай бұрын
I already cover this usecase in cqrs design pattern buddy please check
@dipeekadeshmukh263
@dipeekadeshmukh263 2 ай бұрын
I am trying to practice the same code but getting error even after addding trusted packages in kafka consumer. Error is , failed to resolve class name. Class not found. Can you please help. Thanks.
@Javatechie
@Javatechie 2 ай бұрын
Does your producer and consumer follow proper package structure
@dipeekadeshmukh263
@dipeekadeshmukh263 2 ай бұрын
Yes . I even tried the second approach of adding through config class but still getting the error as Listener method couldn't be invoked with incoming message. Can't covert from java.lang.string to dto.customer. Can you please link the git hub Link for this code? I will try and copy paste the code if I am missing something. Thanks.
@mohdsaqib7064
@mohdsaqib7064 2 ай бұрын
exactly the same error I have encountered during the consumer and producer example class not found.
@CLEVERProgrammer.169
@CLEVERProgrammer.169 5 ай бұрын
It's been great but do some real World project based Kafka well this is one example,
@deeplife9654
@deeplife9654 5 ай бұрын
Just awesome 😎 thanks
@ganeshbabu8263
@ganeshbabu8263 7 ай бұрын
Thanks a lot!.
@mohandayare2167
@mohandayare2167 2 ай бұрын
I am facing erros like connection reset , timeout of 18000ms exceeded in zookeeper tried everything, still issue is not solved, please guide
@Javatechie
@Javatechie 2 ай бұрын
Please drop an email to javatechie4u@gmail.com
@livelifetoday373
@livelifetoday373 3 ай бұрын
What is the work of replication factors?
@srisandilya
@srisandilya 4 ай бұрын
@Java Techie, can you please help me with the issue in starting kafka server. I am getting no response when i start kafka server. C:\KAFKA\kafka_2.12-3.7.1>.\bin\windows\kafka-server-start.bat .\config\server.properties C:\KAFKA\kafka_2.12-3.7.1>
@Javatechie
@Javatechie 4 ай бұрын
Don't worry, I'll write a blog about it and post it on my Medium. I'll also announce it in a youtube community post this weekend
@kadakpahadi1592
@kadakpahadi1592 2 ай бұрын
Make POC on Kafka Stream As well with source code. Mini project .
@karthikkumar5213
@karthikkumar5213 6 ай бұрын
Hey Hi @Javatechie... I was following along and faced an issue while doing serialize and deserialize i was getting serialization exception... Then after checking whole lot of things i found out package name fro Customer class has to be same as one defined in consumer even if contents of class are same it wasn't working fine... So couldn't understand why this was happenning. Can you help me with this?
@AR11-2-99
@AR11-2-99 6 ай бұрын
when deserialization in consumer side consumer, it uses the metadata about object which include while serialization. use these in consumer properties spring.kafka.consumer.properties.spring.json.use.type_info_headers=false spring.kafka.consumer.properties.spring.json.value.default.type=yourEntitynamewithpackage spring.kafka.consumer.properties.spring.json.use.type.headers=false
@Javatechie
@Javatechie 6 ай бұрын
Hello Amrit you need to soecify trusted package both from consumer and producer if it's different
@darogajee3286
@darogajee3286 3 ай бұрын
In windows zookeper running cmnd not working
@Javatechie
@Javatechie 3 ай бұрын
I will setup in my windows and update you 👍
@SPYROISLIVE196
@SPYROISLIVE196 Ай бұрын
You can use bat file instead of sh file
@komaljayswal5070
@komaljayswal5070 5 ай бұрын
Thank you
@2668rajan
@2668rajan 4 ай бұрын
Hey @JavaTechie I really liked your video and it was awesome. It will be very good if you share the link of the pdf. Thanks
@Deepakblg97
@Deepakblg97 7 ай бұрын
Thank you so much sir 🙏❤️
@Hacks00145
@Hacks00145 7 ай бұрын
Thank you
@sanathrayala2745
@sanathrayala2745 7 ай бұрын
It would have been so great if there were timestamps. Other than that, it's all good
@Javatechie
@Javatechie 7 ай бұрын
I will add it soon 🤠
@nazimuddinasif5489
@nazimuddinasif5489 7 ай бұрын
can you please share git repo? above git repo is about springboot-apache-pulsar.
@Javatechie
@Javatechie 7 ай бұрын
Please go to the root repo and just filter with Kafka
@hdmusiq8648
@hdmusiq8648 6 ай бұрын
Hi brother!! In my offset explorer, I can see data which is sent by producer is saving as different word. Is this due to serialization or something?
@Javatechie
@Javatechie 6 ай бұрын
No it's not because of the serialization issue please check at topic level you have to choose string as data format by default it will set byte array for you.
@hdmusiq8648
@hdmusiq8648 6 ай бұрын
@@Javatechie ok.. Thanks brother
@dses6611
@dses6611 3 ай бұрын
Properties -> Content Types -> String -> Update, then all the value will change from Byte to String 😎
@jackdanyal4329
@jackdanyal4329 Ай бұрын
and also no need to use Lombok, you can use records instead
@malleswarrao3887
@malleswarrao3887 7 ай бұрын
In the real World Springboot application how can we use Kafka, i mean We have lot of apis and rest classes
@NortheastCareerSolutions
@NortheastCareerSolutions Ай бұрын
great video
@krish-pp6zt
@krish-pp6zt 7 ай бұрын
Nice tutorial. Where Can I find the source code used in the tutorial?
@Javatechie
@Javatechie 7 ай бұрын
In video description
@rahulsukale4575
@rahulsukale4575 5 ай бұрын
I am trying to download kafka file on windows but every time getting editable notepad file Please guide me how to download
@sajid.farooqi8074
@sajid.farooqi8074 4 ай бұрын
good
@Phani-ix9sq
@Phani-ix9sq 3 ай бұрын
i have never seen a crash course being 4hrs
@Javatechie
@Javatechie 3 ай бұрын
Did you enjoyed it or feel bored 😴?
@lagishettydheeraj290
@lagishettydheeraj290 7 ай бұрын
I think each consumer group consumes all the messages from all the partitions rather one CG to one Partition, Correct me if Im wrong.
@Javatechie
@Javatechie 7 ай бұрын
No buddy. Each consumer will listen to one partition if there cg is different
@malleswarrao3887
@malleswarrao3887 7 ай бұрын
May i know the part 2 link please for kafka
@Javatechie
@Javatechie 7 ай бұрын
Part 2 not released yet.
@BillionDollerDream
@BillionDollerDream 5 ай бұрын
Do we need to know Java to learn from this tutorial???
@Javatechie
@Javatechie 5 ай бұрын
Yes java knowledge required
@jhari4683
@jhari4683 5 ай бұрын
That's the great question I have heard till now 😅
@BillionDollerDream
@BillionDollerDream 5 ай бұрын
@@jhari4683 I meant to say is Python enough or do we need to know Java as well ... because in my organisation Kafka python is being used...
@BillionDollerDream
@BillionDollerDream 5 ай бұрын
I hope you got it khari 😅
@Javatechie
@Javatechie 5 ай бұрын
If you know python also that's enough but you need to find out integration steps brother. This course for java integration I don't think it helps you . But check first 4 videos it will give you complete picture of Kafka internal
@deeplife9654
@deeplife9654 5 ай бұрын
Bro can you make a video on jackson api and json to java obj and vice versa ?
@niketsharma
@niketsharma 7 ай бұрын
Why fonts are so small? It is too difficult to watch.
@RitikMishra-b5g
@RitikMishra-b5g 4 ай бұрын
Anyone can help me how to run zookeeper in windows?
@Javatechie
@Javatechie 4 ай бұрын
Is this resolved ?
@bix1998
@bix1998 Ай бұрын
There should be no spaces between folder/dir name and also keep the dir name simple without its version, ex: "kafka" instead of "kafka_2.12-3.8.0", "ApacheKafka" instead of "Apache Kafka".
@arbindsharma1423
@arbindsharma1423 7 ай бұрын
Could we please have the pdf you used.
@Maximus98245
@Maximus98245 Ай бұрын
Any chance you could use voice over for your videos? No offense but the accent is too strong for non-india to understand, the captions are wrong too. Otherwise the material presented is excellent.
@cs_soldier5292
@cs_soldier5292 4 ай бұрын
Can I get that ppt
@knowledgehouse4620
@knowledgehouse4620 7 ай бұрын
Part 2 neiki asa
@rishiraj2548
@rishiraj2548 7 ай бұрын
🙏🙂👍
@inoyatovnuriddin
@inoyatovnuriddin 7 ай бұрын
RabbitMQ also
@sumanthkumarmakkena7617
@sumanthkumarmakkena7617 7 ай бұрын
Can you send me core java complete
@aminhlel7241
@aminhlel7241 7 ай бұрын
stop reading my mind please !!!
@waaaqas
@waaaqas 7 ай бұрын
this is very boring . Too much explanation and less interaction . Better if we can start action side by side
@deepaks5312
@deepaks5312 6 ай бұрын
Hello @javaTechie : around 1h:43m , while using the template to send the message to topic. getting the below error Cannot invoke "org.springframework.kafka.core.KafkaTemplate.send(String, Object)" because "this.template" is null
@mayurnagdev5545
@mayurnagdev5545 6 ай бұрын
@javatechie, I get the error in kafkaconsumer at 02:45:05 Caused by: org.springframework.messaging.converter.MessageConversionException: failed to resolve class name. Class not found [com.example.kafka_youtube_javatechie.model.User] at org.springframework.kafka.support.mapping.DefaultJackson2JavaTypeMapper.getClassIdType(DefaultJackson2JavaTypeMapper.java:137) ~[spring-kafka-3.1.4.jar:3.1.4] in your case, the Customer class is in the same package in both producer and consumer projects. But in my case, the equivalent (User.java) is in different packages in both producer & consumer. Can you please help?
@mayurnagdev5545
@mayurnagdev5545 6 ай бұрын
turns out I had to use the following consumer configuration: Map map = Map.of(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9092", ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class, ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, JsonDeserializer.class, JsonDeserializer.TRUSTED_PACKAGES, "com.example.kafka_consumer_javatechie.model,com.example.kafka_youtube_javatechie.model", JsonDeserializer.USE_TYPE_INFO_HEADERS, false, JsonDeserializer.VALUE_DEFAULT_TYPE, "com.example.kafka_consumer_javatechie.model.User");
@2668rajan
@2668rajan 4 ай бұрын
Hi @mayurnagdev5545, I am getting the same error while following the same code. How did you got to solve that ?
@eliasabiatallah5719
@eliasabiatallah5719 4 ай бұрын
@@2668rajan I am also getting this error.
Apache KAFKA Tutorial | KAFKA Crash Course | Spring Boot
56:49
Daily Code Buffer
Рет қаралды 96 М.
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 7 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 6 МЛН
Thank you Santa
00:13
Nadir Show
Рет қаралды 38 МЛН
Proxy vs Reverse Proxy vs Load Balancer | Simply Explained
13:19
TechWorld with Nana
Рет қаралды 216 М.
10 years of coding in 13 minutes
13:28
Joma Tech
Рет қаралды 4,9 МЛН
SOLID Design Principles in java with Example | JavaTechie
34:44
Java Techie
Рет қаралды 198 М.
Kafka Tutorial - Spring Boot Microservices
51:29
Amigoscode
Рет қаралды 438 М.
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 7 МЛН