Apache Kafka Architecture

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 54

  • @AntonPutra
    @AntonPutra  11 місяців тому +6

    🔴 To support my channel, I'd like to offer Mentorship/On-the-Job Support/Consulting (me@antonputra.com)

  • @boyanbalev4428
    @boyanbalev4428 11 місяців тому +7

    One unorthodox questions do you think creating those videos help you getting deeper understanding of these technologies. I write articles and I found that it actually benefits as much me as helping others. Great work.

    • @AntonPutra
      @AntonPutra  11 місяців тому +4

      thanks, of course it does

  • @GabrielPozo
    @GabrielPozo 11 місяців тому +9

    Thanks for this high-quality explanation!!!

    • @AntonPutra
      @AntonPutra  11 місяців тому +2

      thanks trying to improve

  • @agun21st
    @agun21st 11 місяців тому +2

    Wow, Anton sir, this breakdown of Apache Kafka's architecture is incredibly insightful! Understanding how topics, partitions, and brokers work together is key to leveraging Kafka effectively in real-world applications. Thanks for this great overview!

  • @VarunM-f8g
    @VarunM-f8g 8 місяців тому +4

    best primer on Kafka. kudos

  • @pradeep_kumar_ind
    @pradeep_kumar_ind 6 місяців тому +3

    Awesome! I love these videos. They are so simple to understand. Thanks.

  • @hieuthangvo7535
    @hieuthangvo7535 14 днів тому

    Thank u for wonderful explanation of Kafka architecture!!

  • @ravipanchal2259
    @ravipanchal2259 9 місяців тому +5

    Your content is awesome. Hats off to your visualization and explanation .

  • @pieter5466
    @pieter5466 10 місяців тому +1

    Great Kafka video, very clear and great diagrams.

  • @suvajitchakrabarty
    @suvajitchakrabarty 11 місяців тому +2

    In 4:55 should the partition in kafka broker 3 be partition 6, 7, 8 instead of 3, 4, 5, since you mentioned a partition always belongs to one broker.

    • @AntonPutra
      @AntonPutra  11 місяців тому +1

      yeah, copy paste mistake :) it should be 6, 7, 8

    • @suvajitchakrabarty
      @suvajitchakrabarty 11 місяців тому

      Thanks for the clarification@@AntonPutra

  • @zacclifton5479
    @zacclifton5479 11 місяців тому +3

    Well done! I would recommend doing Pulsar next

    • @AntonPutra
      @AntonPutra  11 місяців тому +1

      thanks! i'll take a look

  • @aymenfayadhi3694
    @aymenfayadhi3694 6 місяців тому +1

    Thank you. This was actually helpful :)

  • @pabloqp7929
    @pabloqp7929 2 місяці тому +1

    High quality thank you!!

  • @soufiane22v
    @soufiane22v 3 місяці тому +1

    Great video sir ! is it possible to create a video for deploying production-ready kafka clusters on k8s ?

    • @AntonPutra
      @AntonPutra  3 місяці тому

      thanks! well maybe in the future, there are some k8s operators available to run on k8s

  • @csmithDevCove
    @csmithDevCove 11 місяців тому +2

    this guy ^ always bringing useful information. Well done @AntonPutra.

  • @InvincibleMan99
    @InvincibleMan99 5 місяців тому

    Hello brother
    Great explanation
    Recently in interview, i was asked what is the data structure that is used in kafka..

    • @AntonPutra
      @AntonPutra  5 місяців тому +1

      key/value :) for the value you can use RPC, avro, json etc.. Many companies use protocol buffers to reduce the size of the payload - grpc.io/docs/what-is-grpc/core-concepts/#service-definition

    • @InvincibleMan99
      @InvincibleMan99 5 місяців тому

      @@AntonPutra Got it thank you. Yeah so message data structure is key value. But as kafka is a queue, it maintains a log file in append mode on each broker, as you have covered. So it also has query data structure.

  • @blender_wiki
    @blender_wiki 11 місяців тому

    How you menage message locking in Kafka in case of a consumer task is time consuming?

  • @shokhrukhbekyursunjonov6203
    @shokhrukhbekyursunjonov6203 8 місяців тому +1

    Good day Anton, thank you so much for user-friendly content! Could you please make a tutorial video on properly deploying secure (SASL/SCRAM) Confluent based full Fafka stack (2024 edition)? For several weeks I am attempting to deploy full kafka stack (zoo+kafka+schema-registry+kafka-connect+rest-proxy+ksqldb+conduktor-console) using SASL/SCRAM_SHA_256 method, but having errors in additional components such as registry, proxy connect and ksqldb during SASL SCRAM authorization... (docker compose solution). I am sure it would be really helpful to the kafka devops community here...
    Sincerely,
    Shokhrukh Yursunjonov

    • @AntonPutra
      @AntonPutra  8 місяців тому

      Sure, I can do it. A couple of questions: Is it Kubernetes-based? Also, why not use Kafka without ZooKeeper (KRaft)? Do you have any legacy applications that require ZooKeeper?

    • @shokhrukhbekyursunjonov6203
      @shokhrukhbekyursunjonov6203 8 місяців тому

      @@AntonPutra it is docker stack based (cause I am given one server to deploy kafka and I am writing compose file to deploy all in one server). Ah, I almost forgot about KRaft, good idea, I might try to use this mode, I heard that it is more intelligent and faster! According to my info (what devs said to me) apps are not legacy (mostly .net containerized apps), thus I can try using single/double broker KRaft mode, thank you. But I am afraid to have the same issues configurning SASL/SCRAM auth in it

    • @AntonPutra
      @AntonPutra  8 місяців тому +1

      @@shokhrukhbekyursunjonov6203 yes it's faster since kafka does not need to keep offsets in zookeeper and it's scales better without zk. I'll get to it maybe after EKS playlist will see.

  • @dimadiachenko1
    @dimadiachenko1 10 місяців тому

    perfect explanation, ty

  • @drivetrainerYT
    @drivetrainerYT 9 місяців тому +1

    Can't help subscribing ;) thanks!

  • @rahulsingh-iq4gd
    @rahulsingh-iq4gd 11 місяців тому +3

    Hello sir can you make video on kubernetes helm chart please

  • @SomjitNag
    @SomjitNag 3 місяці тому

    10:13 Kafka should work just as well with HDD, as it's writes are sequential, which is fast in HDD. If kafka needs SSD for fast performance, it will become very expensive to retain data in kafka for long periods, which is a feature kafka offers.

    • @AntonPutra
      @AntonPutra  3 місяці тому +1

      I doubt that it will perform well with an HDD, but I may test it someday

  • @RD-fb6ei
    @RD-fb6ei 11 місяців тому

    So the upper bound on the number of consumers for a topic is the number of partitions? That’s quite limiting compared to something like Apache Pulsar or NATS Jetstream where you can horizontally scale the consumers as much as you want without worrying about the partitioning scheme of the server.

    • @AntonPutra
      @AntonPutra  11 місяців тому

      No, you can have as many consumers as you want, not limited by partitions. Depends on your app, in some cases, to scale you need to increase both partitions and consumers.

    • @suvajitchakrabarty
      @suvajitchakrabarty 11 місяців тому

      @RD-fb6ei However in those applications when you scale the consumers, I believe you lose the guarantee of events arriving in order.

  • @rajun9208
    @rajun9208 5 місяців тому

    Which tools you are using for making this animation?

    • @AntonPutra
      @AntonPutra  5 місяців тому

      adobe

    • @rajun9208
      @rajun9208 5 місяців тому

      @@AntonPutra thank you for the quick response. Could you please tell me full name of the software

    • @AntonPutra
      @AntonPutra  5 місяців тому +2

      @@rajun9208 adobe suite, multiple apps illustrator, after effect, premiere pro etc

  • @AntonPutra
    @AntonPutra  2 місяці тому

    🍿 Benchmarks: ua-cam.com/play/PLiMWaCMwGJXmcDLvMQeORJ-j_jayKaLVn.html&si=p-UOaVM_6_SFx52H

  • @yenonn
    @yenonn 2 місяці тому

    typo of partitions

  • @charuwaka1
    @charuwaka1 Місяць тому +1

    Axlex Xu and now Anton Putra 🔥🫡