Apache Kafka 101: Partitioning (2023)

Ғылым және технология

► TRY THIS YOURSELF: cnfl.io/kafka-101-module-1
Learn how partitioning works in Apache Kafka. With partitioning, the effort behind storing, processing, and messaging can be split among many nodes in the cluster.
► For a COMPLETE IMMERSIVE HANDS-ON EXPERIENCE, go to cnfl.io/kafka-101-module-1
- - -
ABOUT CONFLUENT
Confluent, founded by the creators of Apache Kafka®, enables organizations to harness the business value of live data. The Confluent Platform manages the barrage of stream data and makes it available throughout an organization. It provides various industries, from retail, logistics, and manufacturing, to financial services and online social networking, a scalable, unified, real-time data pipeline that enables applications ranging from large-volume data integration to big data analysis with Hadoop to real-time stream processing. To learn more, please visit confluent.io
#kafka #kafkastreams #streamprocessing #apachekafka #confluent

Пікірлер: 39

  • @sanjayb0886
    @sanjayb08862 жыл бұрын

    Very well done Tim - Thank you!

  • @vinod187118
    @vinod1871183 жыл бұрын

    finally i found the partition logic in this video. Thanks a lot for the crisp video tim.

  • @yohannistelila8879
    @yohannistelila88792 жыл бұрын

    Thank you, crystal clear!

  • @philipackerley5775
    @philipackerley57753 жыл бұрын

    Yet again Tim, rock solid short snappy overview.

  • @azharmobeen
    @azharmobeen2 жыл бұрын

    It's simply a great explanation. Thanks Man

  • @tomydurazno6243
    @tomydurazno62433 жыл бұрын

    Great video guys, very helpful!

  • @unny2708
    @unny2708 Жыл бұрын

    Thanks Tim.. This is best video over internet for those who just jumped in to Kafka....

  • @timmyho1269
    @timmyho12693 жыл бұрын

    Thank so much, it is so clearly

  • @Neosam01
    @Neosam014 ай бұрын

    man your style of explanation is just awesome..I mean how can you explain things so easily that too without much animation or something...one of the best instructor I must say

  • @Sulerhy
    @Sulerhy19 күн бұрын

    incredible visualized video. Thank you so much

  • @varunraj3736
    @varunraj37363 жыл бұрын

    Very well explained ..thank you

  • @igorburilo3937
    @igorburilo39372 жыл бұрын

    good explanation, thanks!

  • @vladvlad2798
    @vladvlad27982 жыл бұрын

    Amazing explanation!!

  • @nazirzhumakhan
    @nazirzhumakhan3 жыл бұрын

    clear explanation, thanks

  • @Anbu_Sampath
    @Anbu_Sampath7 ай бұрын

    Best explanation for partition.

  • @kurtvicious9375
    @kurtvicious93753 жыл бұрын

    hey tim, can you tell me another advantage using partition

  • @matifibrahim
    @matifibrahim Жыл бұрын

    Thanks to animation in this video now I better understand partition

  • @RaushanKumar-co3wj
    @RaushanKumar-co3wj19 күн бұрын

    awesome .

  • @aditya-desai
    @aditya-desai3 жыл бұрын

    What is the relation between events and messages? Messages have key-value pairs? or Events have key-value pairs? what exactly ... Events or messages are stored in partitions with key-value pairs? this was a helpful video Take key ------> HASH Function-------> Output mod (Total no. of partitions) ------> Resulting no. is Partitions number where message going to store. I was unaware of this concept. Thank You Tim.

  • @TymexComputing
    @TymexComputing Жыл бұрын

    Hi - what do the Fire logo and wheel logo mean? Are these logos of old Kafka versions? I only could find a slideshow "Kafka - Past, present and future" :)

  • @alen740926
    @alen7409262 жыл бұрын

    so it is generally correct , if not always, to say that messages in different partitions within same topic are mutually exclusive?

  • @facusana
    @facusana Жыл бұрын

    what if we want to store information for each day in the NASDAQ stock market with ~3000 symbols and 1 billon of trades per day. Should we use one topic for each symbol or just one topic with handred of partitions? I want to understand a real case with a hugh amount of data!

  • @azharmobeen
    @azharmobeen2 жыл бұрын

    Is it possible one message can belongs to multiple partitions ?

  • @nimasarayan4531
    @nimasarayan45313 жыл бұрын

    What's the name of this song? ps: Kafka is amazing

  • @8eck
    @8eck10 ай бұрын

    So if you want a FIFO queue, you are limited to only one partition?

  • @ireallylikeshoes
    @ireallylikeshoes3 ай бұрын

    Excellent explanation, but one thing that I see just about all videos lack is explaining WHY partitioning is useful and when it is not.

  • @ConfluentDevXTeam

    @ConfluentDevXTeam

    3 ай бұрын

    Gilles here from Confluent. It's a good point, I was wondering the same thing last week and realised we don't have a video that goes into details of how you should partition your topics and why. The best resource is still this blog post from Jun Rao: www.confluent.io/blog/how-choose-number-topics-partitions-kafka-cluster/. Hope this helps!

  • @yang120000
    @yang1200003 ай бұрын

    When consumer read the topic, how does it know which partition to read the message out?

  • @glennbullock3778
    @glennbullock37783 ай бұрын

    When I subscribe to a partitioned Topic, I still get all the messages eventually, just not necessarily in the correct order, right?

  • @victorsterling6806
    @victorsterling68062 жыл бұрын

    Why don't use consistent hashing but use hash/ num_partition?

  • @padmanathanramasamy8354
    @padmanathanramasamy8354 Жыл бұрын

    Do we need to mentioned the number of partition while creating the topics? For example if I create the key with CustomerID and create the Kafka topic with 5 Partition then when there is a 6th Customer comes with different Key then which Partition will stored?

  • @AmitMahto-bf5np

    @AmitMahto-bf5np

    9 ай бұрын

    Yes,you have to mention no. of partitions.

  • @lianglu4442
    @lianglu44422 жыл бұрын

    If the number of partitions changes, does Kafka re-hash and redistribute events? If not then events with the same ID could end up in different partitions?

  • @zampogna

    @zampogna

    Жыл бұрын

    It would be great to have a crisp explaination also for that

  • @gerooq

    @gerooq

    Жыл бұрын

    Why would events have the same ID

  • @kamal-xd7id
    @kamal-xd7id Жыл бұрын

    What if one partition node goes down, then the order can be messed up?

  • @masoudhosseini8672
    @masoudhosseini867210 ай бұрын

    in my humble opinion it is the case in real world, to have a customer acting as a noisy neighbour.

  • @pavelkouzmitcheu7965
    @pavelkouzmitcheu79656 ай бұрын

    Since Kafka 2.4 the Default Partitioner is set to Sticky Partitioner, and not Round Robin. Hence, if you wonder why all the messages with the null key land in the same partition this is the reason. If you want to set it to Round Robin to how it was before version 2.4 then set it in the props passed to ProducerFactory: props.put(ProducerConfig.PARTITIONER_CLASS_CONFIG, RoundRobinPartitioner.class);