Kafka Interview questions and answers for 2024 for Experienced | Code Decode [ MOST ASKED ] | Part-1

  Рет қаралды 70,838

Code Decode

Code Decode

Күн бұрын

Пікірлер: 119
@sayanbiswas8847
@sayanbiswas8847 Жыл бұрын
Very important video. Kafka, Asynchronous messaging is forming the main part of backend Java developer interviews these days. Thanks team. Keep such content coming !
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Sayan 😊
@Uniquevibers944
@Uniquevibers944 8 ай бұрын
Working in Kafka for the past 2 years without knowing much but just configuring topics. Now u made me understand the whole. Thanks!
@CodeDecode
@CodeDecode 8 ай бұрын
😊😊👍
@ravipanchal2259
@ravipanchal2259 8 ай бұрын
Awesome video. Saved my 2-3 hours of reading. Waiting for part-2
@CodeDecode
@CodeDecode 7 ай бұрын
😊😊
@ShivaKumarSatakuri
@ShivaKumarSatakuri Жыл бұрын
I'm sure this channel will grow rapidly and extensively. Content quality is too good.
@amansharma-ce5di
@amansharma-ce5di 8 ай бұрын
Thank you for this video. Eagerly awaiting for the Part-2
@CodeDecode
@CodeDecode 8 ай бұрын
Sure we will upload it soon
@mohammedsufi4649
@mohammedsufi4649 11 ай бұрын
Very useful. Please upload this video continuation too. Thanks a lot!
@karthikeyanR-r3b
@karthikeyanR-r3b 10 ай бұрын
Wonderful video. Learn a lot in 30mins about kafka.
@CodeDecode
@CodeDecode 10 ай бұрын
😊😊
@vidyakrishna901
@vidyakrishna901 11 ай бұрын
Very informative video on kafka ..always referring these videos with brilliant teacher to have us..thanks for come up with such videos.
@taranggupta9018
@taranggupta9018 11 ай бұрын
Thanks a lot for helping us to prepare for the interview.. Also the baby from the background is also trying to teach us something..it is sad we can't understand 😅
@CodeDecode
@CodeDecode 11 ай бұрын
🙊🙊🙊🙊 sorry for the inconvenience❤️ And thanks for understanding ,😘
@venkateshthavva7499
@venkateshthavva7499 8 ай бұрын
Awesome content. Thanks for sharing knowledge.
@CodeDecode
@CodeDecode 8 ай бұрын
You are welcome
@sundaraV-k8l
@sundaraV-k8l Жыл бұрын
Hi, Thanks to Code Decode team, Can you please clarify the below points; 1. Can producer publish data on followers also or only on leader? 2. Will offset be removed after consumer consumed, if it will not remove till some time,then data will be huge data in the partition, then what is the limit of partitions? 3. Can multiple consumers consume the same offset? 4. how different consumers knows from which offset they need to start consuming? 5. Can multiple consumers from the same group or different groups consume same offset? 6. how to handle consumer lag any case of consumer fail to consume the data?
@JavaChunks
@JavaChunks 10 ай бұрын
1. Only producer and followers will replicate data 2. Once offset is consumed, it’s consumed for particular consumer group so message can still be consumed again. There is retention policies, after that data will be deleted permanently 3. Yes, as long as consumers belong to different group 4. No, as partition data us read by specific consumer of group only 5. Fine tune buffer size, rebalance consumers or topic partition etc
@ayafathy3232
@ayafathy3232 4 ай бұрын
great video ,waiting for part two
@CodeDecode
@CodeDecode 4 ай бұрын
Sure, we will create it soon
@gyaneshwarm5786
@gyaneshwarm5786 6 ай бұрын
Excellent Video , Thanks for the detailed notes
@CodeDecode
@CodeDecode 6 ай бұрын
You’re welcome
@ajaydangi582
@ajaydangi582 11 ай бұрын
next level of explanation . want more videos on this👌👌
@CodeDecode
@CodeDecode 11 ай бұрын
Sure we will create more on this
@ZabiVlogs3091
@ZabiVlogs3091 10 ай бұрын
I was asked recently in morgan stanley interview how consumer handles messages coming in sequence if the consumer fails. Wish i saw this video before. Useful content ❤
@CodeDecode
@CodeDecode 10 ай бұрын
Thanks 😊👍
@niteshpandey8207
@niteshpandey8207 13 күн бұрын
Kafka Replicator. You need to Configure like this ---> NewTopic createTopic() { return TopicBuilder.name("product-created-events-topic") .partitions(3) .replicas(3) .configs(Map.of("min.insync.replicas","2")) .build();
@akashkharade2259
@akashkharade2259 Жыл бұрын
Waiting for this long time, Thanks. First comment
@CodeDecode
@CodeDecode Жыл бұрын
Thanks for your comment Akash 😊👍
@Akashdeep-ov5kb
@Akashdeep-ov5kb 8 ай бұрын
Thanks for great videos. Please create a video on kafka rebalancing, how to clear lag in kafka, how to decide how many partitions to chose for a kafka topic.
@CodeDecode
@CodeDecode 8 ай бұрын
Noted👍
@devendra.sanghavi
@devendra.sanghavi 7 ай бұрын
Very beautiful explanation.
@CodeDecode
@CodeDecode 7 ай бұрын
Thanks
@rahulnikam777
@rahulnikam777 6 ай бұрын
Thanks for video and explaining Kafka very well. very good content.
@sujitharavuri3572
@sujitharavuri3572 7 ай бұрын
Thanks for the video. Very informative.
@CodeDecode
@CodeDecode 7 ай бұрын
You're welcome!
@SuperHuman748
@SuperHuman748 Жыл бұрын
Thanks to the Code Decide team, it's great I have been following ur classes for quite some time really appreciated. In this particular video, (1)What are the reasons that the leader broker dies ? (2) How the Leader Election does -- what's the Behind Algorithm and how this ISR works when data is produced in a broker/partition ? (3) Why Exactly Three 3 copies of Follower Brokers with the same set of data in Partitions ? (4) Do We Now have a successful Kafka running version Without ZOOKEEPER Dependency ?? which Version is it ?? How successful this new version in market is now ?? Please reply with your insights and answers. Thanks keep doing this nice work and knowledge sharing for a lot of aspirants to become successful IT careers like us. 👍🙏😊
@CodeDecode
@CodeDecode Жыл бұрын
1) broker is nothing but a server, which we start with a command. Now it can stop or crash any time just like our normal servers. 2) using epoch number. The most recently and most updated isr / broker is choosed az as new leader
@CodeDecode
@CodeDecode Жыл бұрын
3) it's a best practice to use at least 2 replica for fault tolerance. You can have 0 or you have 10
@CodeDecode
@CodeDecode Жыл бұрын
4) we are in 3.x version as of now. 4.x.x will have zookeeper completely removed
@johnnybreathe
@johnnybreathe Жыл бұрын
I was waiting for this 😮 😊 please continue thanks for the knowledge 🙏
@CodeDecode
@CodeDecode Жыл бұрын
Sure thanks 😊😊
@chrislaingba2211
@chrislaingba2211 Жыл бұрын
You are the Best 🙏🙏
@CodeDecode
@CodeDecode Жыл бұрын
😊😊 Thanks 👍😊
@susobhandas6143
@susobhandas6143 6 ай бұрын
You have made video with love, I like it
@CodeDecode
@CodeDecode 6 ай бұрын
Thanks
@satyasaineelapala570
@satyasaineelapala570 10 ай бұрын
Great Video
@CodeDecode
@CodeDecode 10 ай бұрын
Thanks 👍
@sreenivaskappala30
@sreenivaskappala30 10 ай бұрын
Great informative video, Do share the Part - 2
@testtest-zb9rp
@testtest-zb9rp Жыл бұрын
Thanks very useful. We need more interview questions on kafka.
@CodeDecode
@CodeDecode Жыл бұрын
Sure 👍👍
@kamalch8928
@kamalch8928 8 ай бұрын
Hi Mam, Thanks for an amazing content. Requesting you to create more interview videos on Kafka.
@unemployedcse3514
@unemployedcse3514 Жыл бұрын
Awesome ❤, need other topics too
@CodeDecode
@CodeDecode Жыл бұрын
👍👍😊sure
@arvinnooli9766
@arvinnooli9766 2 ай бұрын
very well explained
@CodeDecode
@CodeDecode 2 ай бұрын
Thanks !!
@vinaykumarva8538
@vinaykumarva8538 4 ай бұрын
Brocker will create automatically? Or do we need to create automatically
@gurkiratkaur4087
@gurkiratkaur4087 8 ай бұрын
hi, it was a very helpful video. If you could please make more videos to make more questions on kafka, it will be extremely helpful.
@Parvathi-n8r
@Parvathi-n8r 9 ай бұрын
Hi please clarify that how can u ensure that Kafka consumes the messages in the sequential? 2. Will publisher publish duplicate messages? 3. How to retailn failed messages from the dlq within 7 days?
@prasad19650
@prasad19650 7 ай бұрын
Your presentation is very good. 👍 There are so many videos on Udemy which don’t follow minimum standards. I really liked the way you explained the concept. I am not sure if you have your training courses on udemy as well. If not you can try that and you will be a star teacher over there. Just one suggestion though, don’t repeat a point of explanation multiple times, to make your video crisp and clear.
@CodeDecode
@CodeDecode 7 ай бұрын
Thanks man. Means a lot 😊😊
@NareshKumarD107
@NareshKumarD107 Жыл бұрын
Pls make part 2 and also pls explain clearly about the consumer groups in nxt video.
@CodeDecode
@CodeDecode 11 ай бұрын
Sure we will create it soon
@sandysworld7529
@sandysworld7529 Жыл бұрын
Many thanks❤
@CodeDecode
@CodeDecode Жыл бұрын
😊😊👍👍
@sheetalwaghole3065
@sheetalwaghole3065 18 күн бұрын
@CodeDecode Can you please add part-2 video to learn more
@CodeDecode
@CodeDecode 17 күн бұрын
Sure 👍
@sanketkadam4716
@sanketkadam4716 8 ай бұрын
please make more practical videos on kafka, Thank you so much
@CodeDecode
@CodeDecode 7 ай бұрын
Sure we will create it soon
@sumant2000
@sumant2000 8 ай бұрын
Awesome
@CodeDecode
@CodeDecode 8 ай бұрын
Thanks
@leonzakaim
@leonzakaim 5 ай бұрын
Order of mesages in multiple partitions How the order of messages is kept , when we have few partitions ?
@derickdaniel6914
@derickdaniel6914 8 ай бұрын
How to handle the scenario where a consumer gets delayed reading a message, for example- Consumer B reads "booking successful" message before and a Consumer A could read "payment failure" message ? When both messages are from different topics
@captainsparrow101
@captainsparrow101 6 ай бұрын
I am not sure if I understood your questions completely how kafka will manage if data got consumed in different order like order placed is consumed without payment message is received. I will suggest there will be two different microservices one will consume data from payment topic and once confirmed payment is done it will publish data to a different topic from where booking service will book the order Now second scenario if there is single microservice consuming from a single topic then it's code responsibility to check payment status first then go for booking. Please correct me if I am wrong
@akashsaha9366
@akashsaha9366 Жыл бұрын
Thanks for this good video.
@CodeDecode
@CodeDecode Жыл бұрын
☺️☺️
@missmishika
@missmishika Ай бұрын
Please share more interview questions
@CodeDecode
@CodeDecode Ай бұрын
sure we will create more soon
@yoshitamahajan353
@yoshitamahajan353 Ай бұрын
Please create more interview question...
@CodeDecode
@CodeDecode 29 күн бұрын
Sure we will create it soon
@suvarnammavadla4804
@suvarnammavadla4804 5 ай бұрын
Hi Mam, please create a video by covering all Kafka related questions for interview perpose
@CodeDecode
@CodeDecode 5 ай бұрын
Sure 👍👍
@test-nature
@test-nature 5 ай бұрын
Thank you very much
@sushilmadankar53
@sushilmadankar53 Ай бұрын
where is part 2? please send the link
@ektathakkar3225
@ektathakkar3225 Жыл бұрын
Pls make video on basis of cloud like clusters, pods, etc
@CodeDecode
@CodeDecode Жыл бұрын
Sure ekta we will create videos soon on kubernetes concept
@pratikburnwal3756
@pratikburnwal3756 3 ай бұрын
are you from wipro bangalore ?
@CodeDecode
@CodeDecode 3 ай бұрын
Nope Pratik !!
@NageshK-pv7kg
@NageshK-pv7kg 8 ай бұрын
How much charge and duration ?
@CodeDecode
@CodeDecode 8 ай бұрын
Sorry didn't get you question
@karthikeyanrm3446
@karthikeyanrm3446 Жыл бұрын
Please continue interview series.
@CodeDecode
@CodeDecode Жыл бұрын
Sure 😊👍👍
@sheikhmohduzair2886
@sheikhmohduzair2886 5 ай бұрын
kindly cover the remaining topics.
@CodeDecode
@CodeDecode 5 ай бұрын
Sure 👍
@ayushirathore1081
@ayushirathore1081 Жыл бұрын
Please make video on grafana and kibana and Zipkin as well
@DhrumilShahDOTin
@DhrumilShahDOTin 4 ай бұрын
owsm
@prashantkarpe1022
@prashantkarpe1022 Жыл бұрын
Very nice explanation can you please share the new coupon code for this course Master Spring Boot Microservice & Angular K8s CICD AWS??
@MohaideenA
@MohaideenA Жыл бұрын
Nice vedio on Kafka, but there is a small mistake. You said both Producer writes and Consumer reads from Leader partition, which is incorrect. As this would stop the concept of parallelism when there are more than one consumer, and both trys to read from leader in your case. Generally, the leader status of the partition does not have any bearing on the consumer. The leader status only applies to the producers and the broker, so the consumer is fine to read all its data from both the follower Partition and the leader Partition.
@CodeDecode
@CodeDecode Жыл бұрын
"The leader handles all read and write requests for the partition while the followers passively replicate the leader" As per the documentation of Kafka itself. kafka.apache.org/081/documentation.html To answer your question on parallelism, "Each server acts as a leader for some of its partitions and a follower for others so load is well balanced within the cluster." Again as per the documentation 😊😊
@MohaideenA
@MohaideenA 11 ай бұрын
@@CodeDecode ​​ Thanks.. I could'nt able locate the info provided in the documentation.. But for simplicity, lets say we only have one topic, three brokers and 3 consumers belongs to different consumer group. Now per the documentation only one Broker can have a leader for this one Topic and rest 2 are followers. (I assume we both agree on this) In this case, lets say reads happens only from the leader, then all three consumer would read only from the leader for this topic, which stops parallelism right. So ideally for Kafka to support parallelism here, one broker is assigned per consumer, so one of the consumer may read from leader , but the other 2 has to read from the follower. Otherwise in your case, all consumer will read from leader, which is from same broker, which distrupts parallelism. so here's a more accurate representation: "The leader handles all write requests for the partition, actively replicating the data to its followers. While the leader is responsible for coordinating writes, both leaders and followers can handle read requests. Consumers can read data from both the leader and followers, providing fault tolerance and parallelism." please correct me if my understanding is not correct .. still learning, and thanks for the reply..
@ShamaSh444
@ShamaSh444 11 ай бұрын
@@MohaideenA you are correct , @Code decode got this one incorrect..
@CodeDecode
@CodeDecode 11 ай бұрын
Your explanation seems reasonable to me too but am still confused as documentation is contradicting it. Give me some time. Will try to connect to open source team. Either they will revise the documentation or else our doubt will be cleared
@MohaideenA
@MohaideenA 11 ай бұрын
@@CodeDecode Thanks for getting back to me..
@RakeshKumar-wm8pn
@RakeshKumar-wm8pn Жыл бұрын
Please upload more and more question
@CodeDecode
@CodeDecode 11 ай бұрын
sure we will upload it soon
@niharika859
@niharika859 11 күн бұрын
Please create part 2 video
@random_my_226
@random_my_226 4 ай бұрын
When is part 2 releasing ?
@sivaprasad1171
@sivaprasad1171 Жыл бұрын
Can you please cover the remaining topics of Kafka..
@rishiraj2548
@rishiraj2548 Жыл бұрын
🙏👍
@CodeDecode
@CodeDecode Жыл бұрын
😊😊
@rishiraj2548
@rishiraj2548 8 ай бұрын
👍
@sandeepkumarrayala6738
@sandeepkumarrayala6738 3 ай бұрын
i found lot of redundant sentences in this video . reading script in hurry sorry please improve it from next video
@muhammadfahim8978
@muhammadfahim8978 6 ай бұрын
Your pronounciation of "T" alphabet is so disturbing
@vaibhavgarg4267
@vaibhavgarg4267 10 ай бұрын
very helpful mam. pls share contact
@CodeDecode
@CodeDecode 10 ай бұрын
Thanks. Ucan connect with us on codedecodebusiness@gmail.com
@AK-tt7fc
@AK-tt7fc 8 ай бұрын
Thank you for this video. Eagerly awaiting for the Part-2
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Apache Kafka Crash Course | What is Kafka?
1:17:04
Piyush Garg
Рет қаралды 554 М.
Spring Boot Kafka Full Course in 3 Hours🔥🔥🔥
2:43:02
Java Guides
Рет қаралды 13 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.