Apache Kafka Architecture
VloĆŸit
- Äas pĆidĂĄn 6. 06. 2024
- đŽ - To support my channel, Iâd like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
âŹâŹâŹâŹâŹ Experience & Location đŒ âŹâŹâŹâŹâŹ
âș Iâm a Senior Software Engineer at Juniper Networks (12+ years of experience)
âș Located in San Francisco Bay Area, CA (US citizen)
âŹâŹâŹâŹâŹâŹ Connect with me đ âŹâŹâŹâŹâŹâŹ
âș LinkedIn: / anton-putra
âș Twitter/X: / antonvputra
âș GitHub: github.com/antonputra
âș Email: me@antonputra.com
âŹâŹâŹâŹâŹâŹ Related videos đšâđ« âŹâŹâŹâŹâŹâŹ
đ [Playlist] Kubernetes Tutorials: âą Kubernetes Tutorials
đ [Playlist] Terraform Tutorials: âą Terraform Tutorials fo...
đ [Playlist] Network Tutorials: âą Network Tutorials
đ [Playlist] Apache Kafka Tutorials: âą Apache Kafka Tutorials
đ [Playlist] Performance Benchmarks: âą Performance Benchmarks
đ [Playlist] Database Tutorials: âą Database Tutorials
âŹâŹâŹâŹâŹâŹâŹ Timestamps â° âŹâŹâŹâŹâŹâŹâŹ
0:00 Intro
0:40 Apache Kafka Event (Message)
2:56 Apache Kafka Topic
4:22 Apache Kafka Partitions
6:52 Apache Kafka Producers
7:48 Apache Kafka Consumers
8:38 Apache Kafka Cluster Architecture
9:38 Apache Kafka Broker
10:23 Apache Kafka Controller
âŹâŹâŹâŹâŹâŹâŹ Source Code đ âŹâŹâŹâŹâŹâŹâŹ
âș GitHub: github.com/antonputra/tutoria...
#kafka #kubernetes #devops - VÄda a technologie
đŽ - To support my channel, Iâd like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
Your content is awesome. Hats off to your visualization and explanation .
â€
Thanks for this high-quality explanation!!!
thanks trying to improve
best primer on Kafka. kudos
thanks!
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!
thanks!
Great Kafka video, very clear and great diagrams.
Thanks!
perfect explanation, ty
this guy ^ always bringing useful information. Well done @AntonPutra.
thank you!
Can't help subscribing ;) thanks!
đ
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.
thanks, of course it does
Well done! I would recommend doing Pulsar next
thanks! i'll take a look
How you menage message locking in Kafka in case of a consumer task is time consuming?
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
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?
@@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
@@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.
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.
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.
@RD-fb6ei However in those applications when you scale the consumers, I believe you lose the guarantee of events arriving in order.
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.
yeah, copy paste mistake :) it should be 6, 7, 8
Thanks for the clarification@@AntonPutra
Hello sir can you make video on kubernetes helm chart please
ok