Mô tả

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:

  1. Create cluster with multiple brokers

  2. Create topic with multiple partitions spread across different brokers

  3. Create topics with replication factor that allows you to store copy of every message on different brokers for redundancy

  4. Produce messages using built-in Console Producer

  5. Consume messages using built-in Console Consumer

  6. Launch multiple consumers in the same consumer group

  7. 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

  1. Create Java Maven project

  2. Launch Producer and Consumer using Java

  3. Launch multiple consumers in the same Consumer Group

  4. Understand and practice difference between "subscribe" and "assign"

  5. Create Node.js project

  6. Launch Producers and Consumers using Node.js

  7. Create Python project

  8. 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!

Bạn sẽ học được gì

Understand how Apache Kafka works

Create fault-tolerant clusters with topics replication across multiple brokers

Apache Kafka Architecture

How to create Kafka cluster with multiple Brokers

Practice to create producers and consumers using built-in console producer and console consumer

Write custom producer and consumer in Java

Use Python and Node to produce and consume messages

Learn components of the Apache Kafka Cluster

Yêu cầu

  • You could have completely no prior knowledge about Apache Kafka
  • Prepare only your Mac, Windows or Linux/Unix computer. Anything will work.
  • Also you could know nothing about Java, Node or Python. I will explain all of these from beginning
  • We will start from the very beginning by installing Apache Kafka and exploring it's components

Nội dung khoá học

18 sections

Introduction

1 lectures
Let's get connected! Join the Learning Community
00:26

Apache Kafka Installation Overview

4 lectures
Apache Kafka Installation Overview
01:05
Installing Apache Kafka on the Mac and Unix-like systems
00:52
Installing Apache Kafka on the Mac
05:24
Installing Ubuntu on MacOS using VirtualBox
12:40

Installing Apache Kafka on the remote Ubuntu server

3 lectures
SECTION 2 Introduction
00:59
Creating remote Ubuntu Virtual Private Server
06:14
Installing Apache Kafka on Virtual Private Server
07:04

Installing Apache Kafka on Windows

5 lectures
SECTION 3 Introduction
01:02
Installing Apache Kafka on Windows
08:25
Starting Zookeeper and Kafka server on Windows
06:31
Installing Ubuntu on Windows using VirtualBox
11:38
Installing Apache Kafka on Ubuntu using GUI
06:15

Starting Apache Zookeeper and Kafka Broker

8 lectures
SECTION 4 Introduction
01:02
Observing contents of the Kafka folder
05:54
Reading and editing Kafka files using VisualStudio Code
06:19
Trying to start Kafka Server
04:10
Observing Kafka Server logs
01:42
Starting Zookeeper
03:11
Starting Kafka Server while Zookeeper is up and running
06:11
Observing logs folder and current kafka server setup
04:43

Creating and exploring Kafka Topic

5 lectures
SECTION 5 Introduction
00:29
How to connect to Kafka cluster
02:18
Create new Kafka topic
05:04
What happened after creation of the new topic
03:35
Read details about topic
05:21

Producing and consuming Messages

7 lectures
SECTION 6 Introduction
00:43
Send some messages using Kafka Console Producer
03:12
Consuming messages using Kafka Console Consumer
03:18
Consuming messages from the beginning
01:35
Running multiple consumers
01:30
Running multiple producers
03:13
What was changed in the Kafka logs
09:32

What is Apache Kafka and how it works

16 lectures
SECTION 7 Introduction
01:35
What is Apache Kafka
04:00
Broker
02:27
Broker cluster
01:53
Zookeeper
01:58
Zookeeper ensemble
03:29
Multiple Kafka clusters
02:19
Default ports of Zookeeper and Broker
03:48
Kafka Topic
02:31
Message structure
03:33
Topics and Partitions
04:33
Spreading messages across partitions
05:27
Partition Leader and Followers
06:23
Controller and it's responsibilities
05:16
How Producers write messages to the topic
02:14
How Consumers read messages from the topic
03:33

GitHub Repository and Diagrams for the course

3 lectures
SECTION 8 Introduction
00:45
GitHub repository and list of basic Kafka commands
07:32
Diagrams for the course
03:42

EXAMPLE 1 - Topic with Multiple Partitions

9 lectures
SECTION 9 Introduction
00:52
If you use remote Kafka brokers
00:33
Cleaning up existing kafka installation
02:13
Creating topic with multiple partitions
05:59
How messages were spread across different partitions
06:19
Reading messages from specific partition
02:44
Reading messages from specific offset in specific partition
05:44
Reading details about topic and __consumer_offsets topic
06:45
Summary for multiple partitions example
01:56

EXAMPLE 2 - Kafka Cluster with Multiple Brokers

11 lectures
SECTION 10 Introduction
00:57
Example overview - run multiple brokers
01:25
Creating separate configuration files for brokers
05:34
Launching three brokers
02:40
Getting cluster information and broker details from Zookeeper
02:47
Creating multiple-partition topic in the Kafka cluster
03:16
Looking at logs folders of every broker
02:13
Producing and consuming messages in the cluster
03:33
Details about topic in the cluster
03:27
Simulating broker failure in the cluster
05:54
Summary for broker cluster and topic without replication
01:45

EXAMPLE 3 - Multiple Brokers and Topic with Replication

10 lectures
SECTION 11 Introduction
01:22
Preparing for the next example with replication
02:41
Launching brokers and creating topic with replication
04:41
Observing logs folder and details of the topic
06:05
Producing and consuming messages in the topic with replication
06:09
Observing how messages were stored in the partitions on different brokers
03:05
Bringing down one of three brokers and observing changes
03:33
Bringing down another broker in the cluster
03:44
Bringing back both brokers
01:57
Summary for replication
01:36

EXAMPLE 4 - Kafka Consumer Groups

8 lectures
SECTION 12 Introduction
00:51
Example with consumer groups overview
01:00
Exploring default consumer groups
09:59
Starting consumer in the custom consumer group
08:12
Starting second consumer in the same consumer group
04:40
Launching one more consumer in the same group
01:59
Idle consumers in the group
05:51
Summary for consumer groups
01:48

EXAMPLE 5 - Performance Testing

7 lectures
SECTION 13 Introduction
00:48
Overview of the performance testing example
01:18
Starting cluster and launching basic performance test
04:22
Increasing performance test parameters
02:51
Testing consumer performance
03:18
Getting non-zero LAG values for consumers
05:18
Performance test example summary
00:58

PROJECT 1 - Java

20 lectures
SECTION 14 Introduction
01:45
If you use remote Kafka brokers
00:33
Project Files for the Java section
01:05
Installing IntelliJ editor
03:22
Creating and configuring Maven project
05:40
Starting Kafka Cluster
01:37
Creating Java Producer
07:04
Continue Creating Java Producer
07:06
Launching Java Producer
05:04
Explaining most common Producer parameters
12:04
Modifying Serializer type
05:27
Producing meaningful messages with delay
06:06
Refactoring Producer by adding previous example
02:52
Creating consumer with autocommitting - PART 1
07:47
Creating consumer with autocommitting - PART 2
08:31
Consumer parameters overview
06:24
Consumer with Manual Committing
10:33
Consumer with Partitions Assignment
05:36
Launching multipile consumers in the same consumer group
07:41
CHALLENGE - Subscribe vs Assign with consumer groups
01:54

PROJECT 2 - Node.js

9 lectures
SECTION 15 Introduction
00:54
If you use remote Kafka brokers
00:33
Installing Node.js with NPM
01:55
Starting up Kafka cluster with 3 brokers
02:20
Initializing Node.js project
01:37
Final Node.js project files
01:14
Creating basic Node.js producer
07:02
Producing random animal names
06:42
Creating Node.js consumer
04:53

PROJECT 3 - Python

7 lectures
SECTION 16 Introduction
00:43
If you use remote Kafka brokers
00:33
Installing Python
01:39
Final Python project files
00:43
Launching basic Python producer
05:35
Launching consumer and receiving messages
03:36
Generating fake names in the messages by producer
06:01

Course Summary

2 lectures
Course Summary
01:07
Bonus Lecture
00:44

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.