Kafka Implementation with Producer and Consumer example in Spring boot | tutorial | Code Decode

  Рет қаралды 108,078

Code Decode

Code Decode

Күн бұрын

Пікірлер: 182
@kanishkkumar8272
@kanishkkumar8272 2 жыл бұрын
Thankyou so so so much for this. I saw this video just before my interview and cracked the interview. Kafka was asked for 20 minutes. Really, thanks a lot. Got a hike of 160 percent . Interviewer was so impressed by the answers. Thank you once again. Really appreciate it. Please never stop these.
@CodeDecode
@CodeDecode 2 жыл бұрын
Many congratulations Kanishk. Well deserved Man 👍👍🎊🎊🎊 keep learning keep shining👏👏
@syedaqib2912
@syedaqib2912 Жыл бұрын
Congrats man !!
@prerna3404
@prerna3404 Жыл бұрын
Which company?
@fakruu
@fakruu 2 жыл бұрын
The best video beginner friendly video on kafka + spring boot !
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks
@souvikasus2903
@souvikasus2903 Жыл бұрын
I am unable to Install Kafka binary. tgz file in my windows 11. Please help me out.
@hamedhamed-ox9ty
@hamedhamed-ox9ty 2 жыл бұрын
How to get job as Kafka admin can any one tell me only learning Kafka administration will give job?
@AnuragTripathiShiva
@AnuragTripathiShiva Жыл бұрын
I have little doubt when you say - “broker is a topic” and “consumer will subscribe to broker”. It conflicts with my understanding that broker is not a topic instead it is a kind of container which have multiple partitions from different topics. And consumer subscribes to topic rather than the broker. Please correct me if I am wrong.
@johnnybreathe
@johnnybreathe 2 жыл бұрын
Thanks for the implementation. I have done synchronous microservices till now. It's totally new concept to learn asynchronous also. 🧑‍💻 Thank you so much. And please continue what ever is important these days and in coming future as a java developer. 🤗 TQ for the videos
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks a lot 🙂🙂 sure we will cover grpc next soon
@geethufrancis6988
@geethufrancis6988 Жыл бұрын
@@CodeDecode thank uu
@sheiksahil7209
@sheiksahil7209 2 жыл бұрын
Great video...loved the way you explained .... Please make a series on Event-Driven Microservices concepts also. Thank you in Advance.
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure Sahil. 👍🙂 thanks for the nice suggestion
@jampanisuresh4457
@jampanisuresh4457 6 күн бұрын
Thank you so much, very help for us. good job
@CodeDecode
@CodeDecode 4 күн бұрын
You are welcome
@GauravSharma-up9gs
@GauravSharma-up9gs Жыл бұрын
Thanks for simplifying everything at one place. One day you must go famous for your videos in your playlist of your channel.
@CodeDecode
@CodeDecode Жыл бұрын
🙏🙏thanks a lot for these beautiful words Gaurav. These comments means a lot to us. It keeps us motivated to upload more content 🙏🙏🙂
@resikas.b.5511
@resikas.b.5511 4 ай бұрын
you have to create a topic in the terminal. That is not shown in the video
@CodeDecode
@CodeDecode 4 ай бұрын
Not needed
@sureshkamble1526
@sureshkamble1526 2 жыл бұрын
Initially title was "KAKA" suddenly wonderd ☺
@CodeDecode
@CodeDecode 2 жыл бұрын
🙊our bad. Sorry that was typo 🙊
@saranyavivekanandan9044
@saranyavivekanandan9044 Ай бұрын
Hi, Thank you so much for your amazing videos. Could you create a video on different microservice listening to this kafka topic, please? I'm quite confused.
@agusp1951
@agusp1951 Жыл бұрын
What about JsonSerializer or CustomSerializer
@CodeDecode
@CodeDecode Жыл бұрын
We will add them in playlist soon 👍
@priyangapinki5715
@priyangapinki5715 6 ай бұрын
Thank you so much. Can you please implement kafka with your vaccination center and citizen project. It will be helpful for understanding real time projects
@letsthink1490
@letsthink1490 2 жыл бұрын
Dear please change the title of this video.i really thought KAKA IS a new concept in java😅😅😅😅
@CodeDecode
@CodeDecode 2 жыл бұрын
Ohh really thanks for letting us know. 😆it was a typo🙊
@abdulrehaman4462
@abdulrehaman4462 9 ай бұрын
am facing problem in running zookeeper server , input is too long ,syntax error .... what should i do...
@rahultripathi1602
@rahultripathi1602 11 ай бұрын
please make Kafka Streams video too and if possible Interview questions video too. Thanks!
@rahulkhot3290
@rahulkhot3290 2 ай бұрын
Thanks for this Nice Video. I could not find the video for kafka streams, could you please let me know the link
@deepsarandeepu
@deepsarandeepu Жыл бұрын
Installing kafka and Zookeeper means, Just downloading it from the URL mentioned ?, Some one can explain ?
@akashsaha9366
@akashsaha9366 2 жыл бұрын
Thanks maam, for the great explanation
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Akash 🙂🙂👍👍
@vidhiagarwal9370
@vidhiagarwal9370 5 ай бұрын
But how to get kafka communicate in different microservices? Would this work? because I see you have done the communication in the same service
@dipeekadeshmukh263
@dipeekadeshmukh263 8 ай бұрын
zookeper and kafka both are not running, giving an error as The input line is too long and The syntax of the command is incorrect.
@chetankhandave1072
@chetankhandave1072 Жыл бұрын
In this example, consumer and producer are in this same application, but what if Consumer is in one application and producer in another application ? How can we handle it ?
@doctorag1135
@doctorag1135 Жыл бұрын
I am getting error group id is not found in exceptation, SO group id can be custom any thing hardcode right?
@bpani
@bpani 5 ай бұрын
Great session mam, thank you!
@CodeDecode
@CodeDecode 5 ай бұрын
Most welcome!
@kanchankatkar5226
@kanchankatkar5226 6 ай бұрын
When will be next video of which you said in last in video, please do keep posting
@Cherryhorse
@Cherryhorse Жыл бұрын
Please create kafka streams video also
@CodeDecode
@CodeDecode Жыл бұрын
Sure Anupam 👍👍
@satishsali5571
@satishsali5571 Жыл бұрын
Can you give the link of Kafka with Stream video?
@joshinim.n9863
@joshinim.n9863 2 жыл бұрын
Thank you so much for this series of videos. I feel so grateful for it. This is so useful. You're really imparting great knowledge in people!
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks joshini for the nice words
@venki1437
@venki1437 2 жыл бұрын
Hai medam, Could please create one video on how to work with jsonb type data in postgress and how to integrate that data with spring boot jpa like how to insert jsonb data in Db using jpa create entity class store data in Db retrieve data from db. Note : there is no videos on KZbin related this concept ,could you Create ASAP. it is helpful to programers
@sivareddy50
@sivareddy50 2 жыл бұрын
Nice question, please do a video on jpa concept
@DhruvSharmax
@DhruvSharmax 2 жыл бұрын
Can you please let us know how to handle objects instead of string as message. Also how to use kafka streams.
@lohir446
@lohir446 2 жыл бұрын
Very useful concept 👌 keep doing
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks a lot ☺ And thanks for the previous comment too 😊
@karamjitsinghsehdev3451
@karamjitsinghsehdev3451 Жыл бұрын
Nice and Simple. Please try to make real scenario based videos also for experienced. That will help crack interviews. Thankyou.
@CodeDecode
@CodeDecode Жыл бұрын
Next is too implement kafka in microservices application
@RupsiKumari-r8c
@RupsiKumari-r8c 7 ай бұрын
This was very helping in completing my assignments. Looking forward for more basic video. Thanks much.
@CodeDecode
@CodeDecode 7 ай бұрын
Sure we will create more soon
@pradeepgupta2089
@pradeepgupta2089 2 ай бұрын
Partition key is missing in sample code
@karthikeyanrm3446
@karthikeyanrm3446 2 жыл бұрын
Please continue this series. If possible make a series on Event driven Microservices. Not sure if you remember - but I have been asking for so long to cover centralized logging, API gateway, Distributed tracing, ELK, docker-kubernetes also (all companies expect this) and then atlast deploy into cloud - AWS/Azure.
@CodeDecode
@CodeDecode 2 жыл бұрын
Yeah all in pipeline Karthikeyan 🙂
@karthikeyanrm3446
@karthikeyanrm3446 2 жыл бұрын
@@CodeDecode thank you so much. Please do. You guys are awesome 😊
@geethufrancis6988
@geethufrancis6988 Жыл бұрын
Ma'm Thank you soooo much for this playlist. Can you please create a video on setting the kafka messages to Redis db...
@CodeDecode
@CodeDecode Жыл бұрын
Sure 👍👍
@kasperamkumar5489
@kasperamkumar5489 Жыл бұрын
I didn't went through this video bcoz your videos always rockzz I will go through all your video in a few days. All the best 👍
@CodeDecode
@CodeDecode Жыл бұрын
Hehe sure 👍👍 keep learning keep shining Man👍👍👍👍
@NainaPriya-s9g
@NainaPriya-s9g 8 ай бұрын
MA'm, i a getting logs in infinite loop in console
@tanveersyed1049
@tanveersyed1049 2 жыл бұрын
Thank u so much for uploading one more kafka video
@CodeDecode
@CodeDecode 2 жыл бұрын
🙂🙂👍👍
@unemployedcse3514
@unemployedcse3514 11 ай бұрын
Awesome 😍
@CodeDecode
@CodeDecode 11 ай бұрын
Thanks
@gudiya1491
@gudiya1491 Жыл бұрын
You are a very good teacher i would say 😊, really..very well explained i was struggling with this kafka topic from so long thanks for providing this video.. earlier i watched exception handler ,i understood everything in one go , didn't watch any other videos to understand it better ...can you please provide videos on bamboo and veracode...also aws🙏
@CodeDecode
@CodeDecode Жыл бұрын
Sure Thanks Gudiya 👍👍
@vengateshm2122
@vengateshm2122 2 жыл бұрын
Very informative hands on tutorial.
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanx 🙂👍
@ankitgiri6874
@ankitgiri6874 Жыл бұрын
Thanks you so much for all of your videos, The way you explain, every concept becomes very easy to understand.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Ankit 😊👍
@bhaumikpatel5932
@bhaumikpatel5932 2 жыл бұрын
Thanks for explaining apache Kafka. Please upload more videos on kafka streams and interview questions
@CodeDecode
@CodeDecode 2 жыл бұрын
sure bhaumik we will create it soon
@MrGoodLuck
@MrGoodLuck Жыл бұрын
Mam can you show using docker also? 🤔I tried searching for it but playlist doesn’t have that and also can you please make a video nd explain if I am using okta then how to authenticate only once for all the services 😅or any other method is also fine like how will we apply security for it I have seen the okta video but wanted to know how it will be done in microservices architecture
@sayanbiswas8847
@sayanbiswas8847 2 жыл бұрын
Helpful
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks 👍🙂
@nitinvnk3975
@nitinvnk3975 5 ай бұрын
Simple, Crisp and to the point thank you for this content.
@CodeDecode
@CodeDecode 5 ай бұрын
You’re welcome
@jatinkumarsingh4414
@jatinkumarsingh4414 Жыл бұрын
Great video!!
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@mash6066
@mash6066 2 жыл бұрын
Hi sister, I have one doubt . In springboot In service class for saving books we will use @Autowired Bookrepository br ; We will use br.save(); Bookrepository is an interface Can u explain ,how it will work . @Autowired we will use for object creation But here Bookrepository is an interface
@mash6066
@mash6066 2 жыл бұрын
I have already commented , regarding this sister
@CodeDecode
@CodeDecode 2 жыл бұрын
This interface must extend some existing interface right? It calls internal api to save your data to db
@dipaliyadav-koli1060
@dipaliyadav-koli1060 2 жыл бұрын
Thanks for your hard work on this.. As usual best explanation.. ❤️❤️❤️
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Dipali ❤
@sagarsonawane3888
@sagarsonawane3888 2 жыл бұрын
Thanks, very helpful video to understand kafka messaging
@CodeDecode
@CodeDecode 2 жыл бұрын
You're welcome Sagar
@AshishYadav-se4db
@AshishYadav-se4db 2 жыл бұрын
Thank you so much for creating Kafka video 😊,and explanation is amazing 🔥.
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Ashish 🙂👍
@TummalapalliTejaswini
@TummalapalliTejaswini Жыл бұрын
I am getting error can anyone help me
@RishavKumar28
@RishavKumar28 2 жыл бұрын
Very well explained!! Please make videos on streams too. Thanks.
@CodeDecode
@CodeDecode 2 жыл бұрын
sure we will create it soon
@PankhuriSinghChauhan-vr9se
@PankhuriSinghChauhan-vr9se Жыл бұрын
Loved the explanantion.. clear and crisp. Thank you :)
@CodeDecode
@CodeDecode Жыл бұрын
You're welcome
@SampritiChowdhury-m8m
@SampritiChowdhury-m8m 2 ай бұрын
Extreme Helpful and helped me to give a valuable KT -session to all my colleagues and make a worthful presentation of it . Thanks a lot mam for boosting Confidence .😇
@pranjalsingh1099
@pranjalsingh1099 2 жыл бұрын
Thanks for up to the point explanation. Please continue this series to for explanation of individual components.
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Pranjal. Sure 👍🙂
@atulpatil7472
@atulpatil7472 Жыл бұрын
Thanks for this wonderful video..I was practicing this code and able to consume my message..after all message consumed. I stop kafka and zookeeper server .once again I have started both server and I am again getting same messages in my consumer. How we can avoid that , as I have already read it before and don't want to read it again as it's duplicate for me
@aman_deep21
@aman_deep21 Жыл бұрын
Very nice demo for getting started with Kafka, thank you
@CodeDecode
@CodeDecode Жыл бұрын
you're welcome aman deep
@arjunyelkachenu
@arjunyelkachenu 9 ай бұрын
Great content covered and Im ready to work my Jira story
@CodeDecode
@CodeDecode 8 ай бұрын
Thanks
@nikhilpawar7876
@nikhilpawar7876 Жыл бұрын
awesome
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@rishisharma3569
@rishisharma3569 2 жыл бұрын
Please please please continue this series. I have subscribed and liked and shared.
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Rishi. 🙂sure we will continue this series
@ajitpeshane8311
@ajitpeshane8311 6 ай бұрын
very simplified and working poc on kafka, Thank you so much. In my case i struggled while executing the command @ 12.06 minutes error: The input line is too long. The syntax of the command is incorrect. Solution: I have renamed the folder to kafka and moved that to D drive directly. worked for me. Might help others.
@smehta344
@smehta344 2 жыл бұрын
Hi, I have one question In one interview they asked me What is the Kafka consumer group name? Please can you help me with this question.
@CodeDecode
@CodeDecode 2 жыл бұрын
Already gave an example in demo Sanjeev. What I can think of is consumer id here. We can have multiple consumer insame group by giving common group id/ name
@smehta344
@smehta344 2 жыл бұрын
@@CodeDecode thanks
@CodeDecode
@CodeDecode 2 жыл бұрын
🙂👍
@charanm4871
@charanm4871 Жыл бұрын
Thank you so much, this video helps a lot.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks 😊😊👍
@sourabhjinde8191
@sourabhjinde8191 2 жыл бұрын
Thanks for the detailed video 🙏. Please continue with the architecture video
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure thanks Sourabh 🙂👍
@sreeramsarath5188
@sreeramsarath5188 Жыл бұрын
It's very good and way of telling so .. easy to understand.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Sreeram🙂
@siddharthpandey835
@siddharthpandey835 Жыл бұрын
Super! continue more videos on Kafka.
@CodeDecode
@CodeDecode Жыл бұрын
Sure Siddharth 👍👍
@PranitKothari
@PranitKothari Жыл бұрын
Wow! Awesome. This can't be explained any better, this can't be explained easier.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks a lot Pranit 🙂🙂
@surpriser2292
@surpriser2292 7 ай бұрын
Can you please continue the series and provide more information regarding the Kafka Architecture. Kudos for all the efforts in compiling such great video.
@giridharkumar8176
@giridharkumar8176 Жыл бұрын
I know this is a basic demo, but I have a question, here you did not create topic inside kafka cluster, and no where you added your topic name in any properties file that is being used in two commands u ran in cmd, u added in ur application's properties file but not in kafka application or zookeeper aplication, so then in enterprise application, any one can create as many topic as they want as it does not required kafka broker permission, so how to restrict it then?
@aayanksinghai8242
@aayanksinghai8242 Жыл бұрын
Very Well Explained! Thank you
@CodeDecode
@CodeDecode Жыл бұрын
🙂👍
@priyanktiwary1067
@priyanktiwary1067 2 жыл бұрын
Please post video on rabbit mq implementation also
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure Priyank 🙂
@lukemagnotta6823
@lukemagnotta6823 Жыл бұрын
How Eloquently was the explanation!
@CodeDecode
@CodeDecode Жыл бұрын
Thanks a lot 👍🙃🙃
@puneetgahlot3556
@puneetgahlot3556 2 жыл бұрын
Superb , Wooww amazing.
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks 🙂🙂
@ithisrinu9593
@ithisrinu9593 11 ай бұрын
you are best among all you tuber channels tq madam
@CodeDecode
@CodeDecode 11 ай бұрын
😊❤️🙏🙏
@shrutik1863
@shrutik1863 2 жыл бұрын
Thanks for the video. Please continue series
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure Thanks Shruti👍🙂
@cheshvikaraj7769
@cheshvikaraj7769 Жыл бұрын
nice Explanation. Thank you
@CodeDecode
@CodeDecode Жыл бұрын
😊👍
@abhishekchaudhari2344
@abhishekchaudhari2344 Жыл бұрын
Can plz you clear why consumer not require deserializer there? when we use deserializer in Consumer?
@mukulmangla632
@mukulmangla632 2 жыл бұрын
nice video.. please continue this series. Also can you talk about offset and streams and taking a more complex and practical example
@CodeDecode
@CodeDecode 2 жыл бұрын
True. Real beauty of kafka is in streams 👍
@mukulmangla632
@mukulmangla632 2 жыл бұрын
yes but can also explain offset please
@aishurajas2507
@aishurajas2507 6 ай бұрын
Thanks alot to you and your fabulous content for java developers! God bless you
@Brainvenus
@Brainvenus 2 ай бұрын
Good
@siddhilalabobo3597
@siddhilalabobo3597 2 жыл бұрын
Excellent video for beginners,
@CodeDecode
@CodeDecode 2 жыл бұрын
thanks siddhi
@bhavyar4983
@bhavyar4983 2 жыл бұрын
Hi mam plz do cover the interview questions thanks a lot for ur time
@chetankhandave1072
@chetankhandave1072 Жыл бұрын
It's my humble request, please make a playlist for Apache Kafka, so that we can go through each video one by one. It will be very easy for every one. And again you have done a fantastic job. Thank you so much.
@CodeDecode
@CodeDecode Жыл бұрын
We have one Chetan : kzbin.info/aero/PLyHJZXNdCXset6tBB1aY5aEY77YhbxWLo
@CodeDecode
@CodeDecode Жыл бұрын
We will add more videos to this playlist 👍
@chetankhandave1072
@chetankhandave1072 Жыл бұрын
@@CodeDecode Thank you so much for your reply. It will be very useful for every one of us.
@chetankhandave1072
@chetankhandave1072 Жыл бұрын
@@CodeDecode In this example, consumer and producer are in this same application, but what if Consumer is in one application and producer in another application ? How can we handle it ?
@umamaheswarreddy9204
@umamaheswarreddy9204 2 жыл бұрын
i loved your energy , TQ for the video. 😊
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Uma 🙂👍
@nareshk329
@nareshk329 2 жыл бұрын
Please attach PPT as well for information purpose or notes to remember.
@UmmakaJagadish
@UmmakaJagadish 2 жыл бұрын
madam please do more videos on microservices
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure Jagadish 🙂👍
@start1learn-n171
@start1learn-n171 6 ай бұрын
Tq
@abhinavgoel4358
@abhinavgoel4358 2 жыл бұрын
Can you please explain serialisation and deserialisation in Java with practical example
@rishiraj2548
@rishiraj2548 Жыл бұрын
🙏👍👍
@kalyanimvn
@kalyanimvn Жыл бұрын
U r rocking mam.asm
@CodeDecode
@CodeDecode Жыл бұрын
Thanks a lot Kalyani 🙂👍
@Sedhu_17
@Sedhu_17 Жыл бұрын
Yes mam we need kafka streams tutorial
@varunb2453
@varunb2453 2 жыл бұрын
Hi, Can you please videos on @KafkaHandler. thanks
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure Varun👍
@ajithkumar-xo5gj
@ajithkumar-xo5gj Жыл бұрын
Great video !
@CodeDecode
@CodeDecode Жыл бұрын
Thanks!
@prateetisingha6729
@prateetisingha6729 2 жыл бұрын
Hi , thank you for your videos it's realy helps a lots. Is it possible to share some videos regarding cicd pipeline.
@CodeDecode
@CodeDecode 2 жыл бұрын
sure we will upload it soon
@ourworldofknowledge5542
@ourworldofknowledge5542 2 жыл бұрын
Excellent video
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks
@user-sapdev
@user-sapdev Жыл бұрын
Thank you so much for for your great efforts and time for getting this content in a simple and clear way. It would be great and useful if you can continue the series..advanced topics like kafka stream API as well.. Thanks once again for your continuous efforts
@jayjoshi1366
@jayjoshi1366 2 жыл бұрын
It is always worth learning from your videos and this Kafka implementation was really nice one which is even more than MQ. Kindly create next part as well where we can learn about asynchronous communication between multiple micro services. Thanks!
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 21 МЛН
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
Apache KAFKA Tutorial | KAFKA Crash Course | Spring Boot
56:49
Daily Code Buffer
Рет қаралды 85 М.
Apache Kafka® Producer Example using SpringBoot 3.x | Java Techie
25:59
Kafka Tutorial - Spring Boot Microservices
51:29
Amigoscode
Рет қаралды 426 М.
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 21 МЛН