
This lecture I'll briefly overview set-up of Apache Kafka on different computers
Install Apache Kafka on Mac by downloading the binary (version 2.4.0) from mirrors, extracting it into a Kafka folder, and ensuring Java is installed.
Discover how to install Apache Kafka on Windows for practice. Understand script extensions and the difference between Windows and Unix-like systems, then use an Ubuntu virtual machine.
explain how to inspect the Apache Kafka installation folder, identify script and configuration files, and start Kafka services, noting that a broker needs Zookeeper and reviewing startup logs.
Learn to observe the Kafka folder contents, unzip the archive, and run services via bin scripts on Windows or Unix, while inspecting config and logs to understand default parameters.
With Zookeeper up at port 2181, start the Kafka server using server.properties, then confirm broker id 0 and listener on port 9092, while noting log storage in logs and tmp/kafka-logs.
Observe the current Kafka server and Zookeeper setup, inspect the logs directory and tmp/kafka-logs, and learn default broker id zero and port 9092 as you prepare to create topics.
Create the first Kafka topic using the kafka-topics script with bootstrap server and name cities. Observe the cluster logs showing partition city zero and broker zero, confirming default configuration.
Discover how to list and describe a Kafka topic, using zookeeper or bootstrap server, and review partitions, replication factor, and leader and in-sync replicas.
Begin by using your local Apache Kafka cluster to run the console producer and console consumer, then launch multiple producers and consumers in parallel to observe message flow.
Connect to localhost:1992 as the bootstrap server and consume messages from the cities topic using the Kafka console consumer, verifying real-time message flow from the producer.
Use the console consumer from beginning to read all messages from a topic. The Apache Kafka cluster stores messages after consumption, enabling multiple consumers to read them later.
Understand Apache Kafka as a distributed publish-subscribe messaging system, where brokers store messages and serve multiple producers and consumers, with messages stored on disk and support for asynchronous, multi-broker clusters.
Explore how Kafka brokers store messages for producers and consumers, form scalable clusters, distribute messages across brokers, and provide failover in case of broker failure.
Understand how ZooKeeper ensembles ensure kafka cluster availability by using an odd-numbered server set and a quorum of half plus one, preventing split-brain scenarios.
Explore multiple Kafka clusters across regions, each with its own brokers and Zookeeper, and how mirroring enables data synchronization so producers and consumers connect to the nearest cluster, reducing load.
Explore Kafka topics with unique names and immutable offsets, where messages are appended to the log end and cannot be inserted, and older records delete after seven days.
Explore how topics are stored on Kafka brokers and why partitions spread a topic across multiple brokers to boost fault tolerance and scalable writes and reads.
Spread messages across partitions to boost performance by parallel reads and writes on multiple brokers. Replicate partitions to ensure fault tolerance and maintain unique offsets within each partition.
Learn how topics divide into partitions across brokers, where a leader handles writes and followers replicate messages to provide fault-tolerant, replicated storage through a configurable replication factor.
This section introduces the course's GitHub repository, containing all examples and projects you can clone and use. Follow along to create each project yourself and access the diagrams demonstrated earlier.
Explore the diagrams in the Diagrams.html file from the Apache Kafka Course repo, showing how to start broker and zookeeper, manage topics, and copy commands.
Create a multi-partition topic in Kafka, produce messages, and observe unique offset per partition; read from topic or partition and learn why the consumer offsets topic has 50 partitions.
Start Zookeeper and the Kafka broker, create a topic with three partitions named animals, and use the console producer and consumer to observe logs in /tmp/kafka-logs.
See how a three-partition topic distributes messages like cat, dog, and monkey across animals zero, one, and two. Observe that a console consumer may read different orders from each partition.
Read messages from a specific partition using the console consumer by specifying the partition number. Observe how starting offsets zero and one retrieve dog and cat from their respective partitions.
List topics and read details for the animals topic in a Kafka cluster, noting 3 partitions, 1 replication factor, and 1 GB segment size, plus the __consumer_offsets topic.
Start the ZooKeeper and Kafka broker, create a topic named Animals with three partitions and replication factor one, produce messages, and observe spread across partitions with asynchronous consumption.
This course is all about Apache Kafka
Understand HOW Apache Kafka works and learn its core features ON PRACTICE. This is 80% practice course without no useless demos!
Build custom Apache Kafka Producers and Consumers using native Java API. Also you will build projects using APIs for other programming languages like Node.js and Python.
Become a master of Apache Kafka by understanding and practicing its architecture and main features.
All project files and mostly used commands are available in the GitHub repository.
This is the most complete practical Apache Kafka guide here on Udemy that includes tons of practical activities. Most important is that you will learn how Apache Kafka works and knowing it you will be able much more easier use its features and fix mistakes in the future after you'll finish this course. You can have zero knowledge about Apache Kafka, Java, Node.js or Python. All will be taught from scratch, from basic to advanced features. If you want to get deep knowledge of Apache Kafka this course is for you!
We will start by installing Apache Kafka on your computer, VPS (Virtual Private Server) or Virtual Machine on your computer. You will learn that installation of Apache Kafka is pretty easy - you just need to download archive with executable scripts and run them. Also you will learn and practice how to run multiple brokers on the same computer.
Afterwards we will jump into tons of practice activities and use different Apache Kafka features and built-in scripts. You will launch Zookeeper, multiple Brokers, Console Consumer and Console Producer. Also you will test performance of the Kafka Cluster using built-in utility called Performance Monitor.
In practice sections you will perform multiple practice Apache activities:
Create cluster with multiple brokers
Create topic with multiple partitions spread across different brokers
Create topics with replication factor that allows you to store copy of every message on different brokers for redundancy
Produce messages using built-in Console Producer
Consume messages using built-in Console Consumer
Launch multiple consumers in the same consumer group
Launch Performance Monitor for testing Consumers and Producers performance and speed
You will also learn and practice how to use Apache Kafka API to create your own Consumers and Producers
Create Java Maven project
Launch Producer and Consumer using Java
Launch multiple consumers in the same Consumer Group
Understand and practice difference between "subscribe" and "assign"
Create Node.js project
Launch Producers and Consumers using Node.js
Create Python project
Launch Producers and Consumers using Python
During the course you will need to view and edit text files. For that you will NOT use terminal. Instead you will use GUI application VisualStudio Code. Also all configuration files and project files are available in the GitHub repository. This means that during this course you will also learn how to use :
Git and GitHub
VisualStudio Code
With this course you will get lifetime-long access to more than 100 lectures and tens of practical exercises. After the course you will become a guru of Apache Kafka and will be able easily create custom Apache Kafka Producers and Consumers.
But most important is that you will UNDERSTAND Apache Kafka.
You will also get 30-days money-back guarantee. No questions asked!
Don't wait and join the course now!