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

  Рет қаралды 121,291

Code Decode

Code Decode

Күн бұрын

Пікірлер: 187
@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 2 жыл бұрын
Congrats man !!
@prerna3404
@prerna3404 2 жыл бұрын
Which company?
@GauravSharma-up9gs
@GauravSharma-up9gs 2 жыл бұрын
Thanks for simplifying everything at one place. One day you must go famous for your videos in your playlist of your channel.
@CodeDecode
@CodeDecode 2 жыл бұрын
🙏🙏thanks a lot for these beautiful words Gaurav. These comments means a lot to us. It keeps us motivated to upload more content 🙏🙏🙂
@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 2 жыл бұрын
@@CodeDecode thank uu
@ajitpeshane8311
@ajitpeshane8311 11 ай бұрын
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.
@kasperamkumar5489
@kasperamkumar5489 2 жыл бұрын
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 2 жыл бұрын
Hehe sure 👍👍 keep learning keep shining Man👍👍👍👍
@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 😊👍
@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
@RupsiKumari-r8c
@RupsiKumari-r8c 11 ай бұрын
This was very helping in completing my assignments. Looking forward for more basic video. Thanks much.
@CodeDecode
@CodeDecode 11 ай бұрын
Sure we will create more soon
@aman_deep21
@aman_deep21 Жыл бұрын
Very nice demo for getting started with Kafka, thank you
@CodeDecode
@CodeDecode Жыл бұрын
you're welcome aman deep
@ithisrinu9593
@ithisrinu9593 Жыл бұрын
you are best among all you tuber channels tq madam
@CodeDecode
@CodeDecode Жыл бұрын
😊❤️🙏🙏
@sreeramsarath5188
@sreeramsarath5188 Жыл бұрын
It's very good and way of telling so .. easy to understand.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Sreeram🙂
@PranitKothari
@PranitKothari 2 жыл бұрын
Wow! Awesome. This can't be explained any better, this can't be explained easier.
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks a lot Pranit 🙂🙂
@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 👍🙂
@nitinvnk3975
@nitinvnk3975 9 ай бұрын
Simple, Crisp and to the point thank you for this content.
@CodeDecode
@CodeDecode 9 ай бұрын
You’re welcome
@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
@SampritiChowdhury-m8m
@SampritiChowdhury-m8m 6 ай бұрын
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 .😇
@PankhuriSinghChauhan-vr9se
@PankhuriSinghChauhan-vr9se Жыл бұрын
Loved the explanantion.. clear and crisp. Thank you :)
@CodeDecode
@CodeDecode Жыл бұрын
You're welcome
@chetankhandave
@chetankhandave 2 жыл бұрын
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 2 жыл бұрын
We have one Chetan : kzbin.info/aero/PLyHJZXNdCXset6tBB1aY5aEY77YhbxWLo
@CodeDecode
@CodeDecode 2 жыл бұрын
We will add more videos to this playlist 👍
@chetankhandave
@chetankhandave 2 жыл бұрын
@@CodeDecode Thank you so much for your reply. It will be very useful for every one of us.
@chetankhandave
@chetankhandave 2 жыл бұрын
@@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 ?
@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
@sourabhjinde8191
@sourabhjinde8191 2 жыл бұрын
Thanks for the detailed video 🙏. Please continue with the architecture video
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure thanks Sourabh 🙂👍
@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
@tanveersyed1049
@tanveersyed1049 2 жыл бұрын
Thank u so much for uploading one more kafka video
@CodeDecode
@CodeDecode 2 жыл бұрын
🙂🙂👍👍
@AshishYadav-se4db
@AshishYadav-se4db 2 жыл бұрын
Thank you so much for creating Kafka video 😊,and explanation is amazing 🔥.
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Ashish 🙂👍
@siddharthpandey835
@siddharthpandey835 Жыл бұрын
Super! continue more videos on Kafka.
@CodeDecode
@CodeDecode Жыл бұрын
Sure Siddharth 👍👍
@shrutik1863
@shrutik1863 2 жыл бұрын
Thanks for the video. Please continue series
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure Thanks Shruti👍🙂
@sagarsonawane3888
@sagarsonawane3888 2 жыл бұрын
Thanks, very helpful video to understand kafka messaging
@CodeDecode
@CodeDecode 2 жыл бұрын
You're welcome Sagar
@dipaliyadav-koli1060
@dipaliyadav-koli1060 2 жыл бұрын
Thanks for your hard work on this.. As usual best explanation.. ❤️❤️❤️
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Dipali ❤
@surpriser2292
@surpriser2292 11 ай бұрын
Can you please continue the series and provide more information regarding the Kafka Architecture. Kudos for all the efforts in compiling such great video.
@aishurajas2507
@aishurajas2507 10 ай бұрын
Thanks alot to you and your fabulous content for java developers! God bless you
@akashsaha9366
@akashsaha9366 2 жыл бұрын
Thanks maam, for the great explanation
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Akash 🙂🙂👍👍
@jampanisuresh4457
@jampanisuresh4457 4 ай бұрын
Thank you so much, very help for us. good job
@CodeDecode
@CodeDecode 4 ай бұрын
You are welcome
@vengateshm2122
@vengateshm2122 2 жыл бұрын
Very informative hands on tutorial.
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanx 🙂👍
@umamaheswarreddy9204
@umamaheswarreddy9204 2 жыл бұрын
i loved your energy , TQ for the video. 😊
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Uma 🙂👍
@lohir446
@lohir446 2 жыл бұрын
Very useful concept 👌 keep doing
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks a lot ☺ And thanks for the previous comment too 😊
@arjunyelkachenu
@arjunyelkachenu Жыл бұрын
Great content covered and Im ready to work my Jira story
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@aayanksinghai8242
@aayanksinghai8242 Жыл бұрын
Very Well Explained! Thank you
@CodeDecode
@CodeDecode Жыл бұрын
🙂👍
@siddhilalabobo3597
@siddhilalabobo3597 2 жыл бұрын
Excellent video for beginners,
@CodeDecode
@CodeDecode 2 жыл бұрын
thanks siddhi
@ARUNKUMAR-mb1dy
@ARUNKUMAR-mb1dy 4 ай бұрын
thank you for the information madam, Please continue the video…
@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 👍👍
@lukemagnotta6823
@lukemagnotta6823 2 жыл бұрын
How Eloquently was the explanation!
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks a lot 👍🙃🙃
@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
@RishavKumar28
@RishavKumar28 2 жыл бұрын
Very well explained!! Please make videos on streams too. Thanks.
@CodeDecode
@CodeDecode 2 жыл бұрын
sure we will create it soon
@bpani
@bpani 9 ай бұрын
Great session mam, thank you!
@CodeDecode
@CodeDecode 9 ай бұрын
Most welcome!
@Sedhu_17
@Sedhu_17 2 жыл бұрын
Yes mam we need kafka streams tutorial
@charanm4871
@charanm4871 Жыл бұрын
Thank you so much, this video helps a lot.
@CodeDecode
@CodeDecode Жыл бұрын
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
@ianuragtripathi
@ianuragtripathi Жыл бұрын
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.
@fakruu
@fakruu 2 жыл бұрын
The best video beginner friendly video on kafka + spring boot !
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks
@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!
@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 😊
@cheshvikaraj7769
@cheshvikaraj7769 Жыл бұрын
nice Explanation. Thank you
@CodeDecode
@CodeDecode Жыл бұрын
😊👍
@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
@d.sharshith3763
@d.sharshith3763 4 ай бұрын
Thank you, I have question Why have you not deserialized while consuming the message?
@puneetgahlot3556
@puneetgahlot3556 2 жыл бұрын
Superb , Wooww amazing.
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks 🙂🙂
@saranyavivekanandan9044
@saranyavivekanandan9044 5 ай бұрын
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.
@kalyanimvn
@kalyanimvn 2 жыл бұрын
U r rocking mam.asm
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks a lot Kalyani 🙂👍
@unemployedcse3514
@unemployedcse3514 Жыл бұрын
Awesome 😍
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@rahulkhot3290
@rahulkhot3290 6 ай бұрын
Thanks for this Nice Video. I could not find the video for kafka streams, could you please let me know the link
@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
@rahultripathi1602
@rahultripathi1602 Жыл бұрын
please make Kafka Streams video too and if possible Interview questions video too. Thanks!
@priyangapinki5715
@priyangapinki5715 10 ай бұрын
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
@bhavyar4983
@bhavyar4983 2 жыл бұрын
Hi mam plz do cover the interview questions thanks a lot for ur time
@ourworldofknowledge5542
@ourworldofknowledge5542 2 жыл бұрын
Excellent video
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks
@geethufrancis6988
@geethufrancis6988 2 жыл бұрын
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 2 жыл бұрын
Sure 👍👍
@vidhiagarwal9370
@vidhiagarwal9370 9 ай бұрын
But how to get kafka communicate in different microservices? Would this work? because I see you have done the communication in the same service
@pariveshkurmi3736
@pariveshkurmi3736 Ай бұрын
How in kafka, topic codeDecode_topic got created just after start of zookeeper and kafka as per video we have not created it manually ?
@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
@ajithkumar-xo5gj
@ajithkumar-xo5gj Жыл бұрын
Great video !
@CodeDecode
@CodeDecode Жыл бұрын
Thanks!
@kanchankatkar5226
@kanchankatkar5226 10 ай бұрын
When will be next video of which you said in last in video, please do keep posting
@sushilmadankar53
@sushilmadankar53 2 ай бұрын
why in properties file configuration not added for spring.kafka.consumer.......?? like producer??
@DhruvSharmax
@DhruvSharmax 2 жыл бұрын
Can you please let us know how to handle objects instead of string as message. Also how to use kafka streams.
@abhishekchaudhari2344
@abhishekchaudhari2344 2 жыл бұрын
Can plz you clear why consumer not require deserializer there? when we use deserializer in Consumer?
@chetankhandave
@chetankhandave 2 жыл бұрын
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 ?
@UmmakaJagadish
@UmmakaJagadish 2 жыл бұрын
madam please do more videos on microservices
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure Jagadish 🙂👍
@abhinavgoel4358
@abhinavgoel4358 2 жыл бұрын
Can you please explain serialisation and deserialisation in Java with practical example
@doctorag1135
@doctorag1135 Жыл бұрын
I am getting error group id is not found in exceptation, SO group id can be custom any thing hardcode right?
@Cherryhorse
@Cherryhorse Жыл бұрын
Please create kafka streams video also
@CodeDecode
@CodeDecode Жыл бұрын
Sure Anupam 👍👍
@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
@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?
@priyanktiwary1067
@priyanktiwary1067 2 жыл бұрын
Please post video on rabbit mq implementation also
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure Priyank 🙂
@sayanbiswas8847
@sayanbiswas8847 2 жыл бұрын
Helpful
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks 👍🙂
@agusp1951
@agusp1951 Жыл бұрын
What about JsonSerializer or CustomSerializer
@CodeDecode
@CodeDecode Жыл бұрын
We will add them in playlist soon 👍
@abdulrehaman4462
@abdulrehaman4462 Жыл бұрын
am facing problem in running zookeeper server , input is too long ,syntax error .... what should i do...
@resikas.b.5511
@resikas.b.5511 8 ай бұрын
you have to create a topic in the terminal. That is not shown in the video
@CodeDecode
@CodeDecode 8 ай бұрын
Not needed
@dipeekadeshmukh263
@dipeekadeshmukh263 Жыл бұрын
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.
@nikhilpawar7876
@nikhilpawar7876 Жыл бұрын
awesome
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@SudhaBasavaraja-i1r
@SudhaBasavaraja-i1r 2 ай бұрын
Hello Maa'm. I tried to create and execute above code and i am getting error like "Got error produce response with correlation id 46 on topic-partition CodeDecode_topic-0, retrying (2147483626 attempts left). Error: NOT_LEADER_OR_FOLLOWER" . Could you please help ?. TIA
@deepsarandeepu
@deepsarandeepu Жыл бұрын
Installing kafka and Zookeeper means, Just downloading it from the URL mentioned ?, Some one can explain ?
@NainaPriya-s9g
@NainaPriya-s9g Жыл бұрын
MA'm, i a getting logs in infinite loop in console
@Brainvenus
@Brainvenus 6 ай бұрын
Good
@akshayvishwanath2591
@akshayvishwanath2591 Жыл бұрын
Crazy❤
@CodeDecode
@CodeDecode Жыл бұрын
😊😊👍👍
@satishsali5571
@satishsali5571 Жыл бұрын
Can you give the link of Kafka with Stream video?
@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 жыл бұрын
🙂👍
@souvikasus2903
@souvikasus2903 Жыл бұрын
I am unable to Install Kafka binary. tgz file in my windows 11. Please help me out.
@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
@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
@nareshk329
@nareshk329 2 жыл бұрын
Please attach PPT as well for information purpose or notes to remember.
@sureshkamble1526
@sureshkamble1526 2 жыл бұрын
Initially title was "KAKA" suddenly wonderd ☺
@CodeDecode
@CodeDecode 2 жыл бұрын
🙊our bad. Sorry that was typo 🙊
@pradeepgupta2089
@pradeepgupta2089 7 ай бұрын
Partition key is missing in sample code
@start1learn-n171
@start1learn-n171 11 ай бұрын
Tq
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
Apache Kafka® Producer Example using SpringBoot 3.x | Java Techie
25:59
Про Kafka (основы)
49:23
Владимир Богдановский
Рет қаралды 429 М.
Apache Kafka Architecture
11:19
Anton Putra
Рет қаралды 48 М.