Topics, partitions, and offsets in Kafka

  Рет қаралды 6,762

Knowledge Amplifier

Knowledge Amplifier

2 жыл бұрын

Imp. points related to Kafka covered in this video :
-----------------------------------------------------------------------------------
1)Topics are particular stream of data in Kafka
2)You can have as many topics as you want
3)A topic is identified by it's name
4)Topics are split in partitions
5)Each partition is ordered
6)Each message within a partition gets an incremental id , called offset
7)Offset only have a meaning for a specific partition
8)Order is guaranteed within a partition (not across partitions)
9)Data is kept only for a limited time (default is one week)
10)Once the data is written to a partition , it can't be changed (immutability)
11)Data is assigned randomly to a partition unless a key is provided
Prerequisite:
--------------------
Install and run Apache Kafka & integration with Python using kafka-python
• Install and run Apache...
Multiple Producer & Multiple Consumer in a Kafka Topic
• Multiple Producer & Mu...
Intuition on Log files in kafka & Kafka Brokers
• Intuition on Log files...
Broker Cluster and Zookeeper in Kafka
• Broker Cluster and Zoo...
Code used in this video is available in the comment section.
Check this playlist for more Data Engineering related videos:
• Demystifying Data Engi...
Snowflake Complete Course from scratch with End-to-End Project with in-depth explanation--
doc.clickup.com/37466271/d/h/...
🙏🙏🙏🙏🙏🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY KZbin CHANNEL

Пікірлер: 23
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
Codes used in the demo :
@user-bf4kg9iw7y
@user-bf4kg9iw7y
Explained well. concepts are so clear.
@bigdataprofessional1880
@bigdataprofessional1880 Жыл бұрын
Crisp explanation, 100% perfect
@user-or5gv9jt2i
@user-or5gv9jt2i
absolute genius. amazing xplaination sir, thankyou so much.
@ayansrivastava731
@ayansrivastava731
if someone is using kafka >2.4 , this approach of round robin(random partitioning) will NOT work, instead there is something called sticky partitioner where you'll see all msgs going to same partition. WHY? because we didn't specify keys in the start. The partitioning strategy by kafka has changed.
@user-vp4by6sb1m
@user-vp4by6sb1m
Thank you Sir
@shobhitarya1637
@shobhitarya1637
Wow, you explained the topics very well with practical as well as with internals. Its a very good tutorial for learning kafka. Thank you .
@kamalnayan9157
@kamalnayan9157 Жыл бұрын
Great work man! Thank you
@ohuuthai1678
@ohuuthai1678
Why does my data only save to partition 0 when I was like you, I tried adding many other input data examples, but it only jumps to partition 0
@digitaltechconnect1318
@digitaltechconnect1318 Жыл бұрын
Please provide us the session for Confluent Kafka
@vigneshr4197
@vigneshr4197 Жыл бұрын
One kafka producer,two consumer subscribes to kafka topic then how partition works?
@alapysalapylalapy2352
@alapysalapylalapy2352 Жыл бұрын
Can we connect?
Kafka Cluster with Multiple Brokers
33:57
Knowledge Amplifier
Рет қаралды 11 М.
Consumer & Consumer Group in Kafka
12:17
Knowledge Amplifier
Рет қаралды 2 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 163 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 52 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 64 МЛН
Topic with Replication in Multiple Broker Kafka Cluster
28:35
Knowledge Amplifier
Рет қаралды 4,3 М.
Topics, Partitions and Offsets:  Apache Kafka Tutorial #2
6:41
Anton Putra
Рет қаралды 20 М.
Setting up a  single node Kafka Cluster on EC2
13:21
Knowledge Amplifier
Рет қаралды 5 М.
Introduction to Schema Registry in Kafka | Part 1
30:42
Knowledge Amplifier
Рет қаралды 8 М.