4.56 out of 5
1270 reviews on Udemy

Apache Kafka Series – Kafka Connect Hands-on Learning

Kafka Connect - Learn How to Source Twitter Data, Store in Apache Kafka Topics & Sink in ElasticSearch and PostgreSQL
Stephane Maarek | AWS Certified Developer
9,961 students enrolled
Italian [Auto-generated]
Configure and run Apache Kafka Source and Sink Connectors
Learn concepts behind Kafka Connect & the Kafka Connect architecture
Launch a Kafka Connect Cluster using Docker Compose
Deploy Kafka Connectors in Standalone and Distributed Mode
Write your own Kafka Connector

A Comprehensive and Brand New Course for Learning Apache Kafka Connect Framework with Hands-on Training – (Launched in April 2017)

Kafka Connect is a tool for scalable and reliable streaming data between Apache Kafka and other data systems. Apache Kafka Connect is a common framework for Apache Kafka producers and consumers.

Apache Kafka Connect offers an API, Runtime, and REST Service to enable developers to define connectors that move large data sets into and out of Apache Kafka in real time. It inherits strong concepts such as fault-tolerance and elasticity thanks to being an extension of Apache Kafka. Kafka Connect can ingest entire databases, collect metrics, gather logs from all your application servers into Apache Kafka topics, making the data available for stream processing with low latency.

Kafka Connect standardises integration of other data systems with Apache Kafka, simplifying connector development, deployment, and management.

In this course, we are going to learn the Kafka Connector deployment, configuration and management with hands-on exercises. We are also going to see the distributed and standalone modes to scale up to a large, centrally managed service supporting an entire organisation or scale down to development, testing, and small production deployments. The REST interface to submit and manage connectors to your Kafka Connect cluster via an easy to use REST API’s.

Students Loved this course – Students have rated the course with 5 stars…!!

Tin Pavlinic says “This course is an excellent resource for those getting started with Apache Kafka-Connect. Stephane explains concepts very clearly and provides plenty of practical examples. The setup is easy. You can follow the examples along on your own machine, and then experiment further. I highly recommend this Apache Kafka course.” ★★★★★

Alan V says “This course is GREAT: 1. The teacher provides clear explanations of the role to Kafka Connector in Kafka Streaming Solution architecture. 2. The course uses docker-compose.yml to help learners quick build a practice environment. 3. The course is well organized and easy to understand the idea, behind Kafka Connector. The teacher guides you how to use the tool step by step. 4. The provided shell commands are all well commented and steps by steps to guide users. If you read the comments in the shell script files after the course, it will remind you what the teacher just taught in the videos. 5. The teacher is very responsible to learners’ questions and very helpful. If you are a professional developer, I highly recommend you to attend this course.” ★★★★★

Sagar Joshi says “It was very engaging and interesting course. I recommend taking this Apache Kafka course. Stephane has provided all the required details and its really a hands-on training course. Thank you..!!” ★★★★★

Why I should take this course?

  • My aim is to make you confident to work with Apache Kafka Connector as soon as possible by providing a hands-on training, source data from Twitter and sinking it directly into ElasticSearch and PostgreSQL database
  • In this course, you will learn what is Kafka Connect, Kafka Connect architecture, how to deploy an Apache Kafka Connector in standalone and in distributed mode, how to setup and launch Kafka Connect Cluster using Docker compose
  • You will be able to Deploy Kafka Connect Source Connectors and Kafka Connect Sink Connectors
  • You have strong support from the instructor, I am very happy to answer all your questions and queries inside the course Q&A sections
  • You have life-time access to this course and a 30-day satisfaction guaranteed with this course

Overview of the Course Contents –

Section 1 – Course Introduction: In this section, we are going to see the required pre-requisites for this course and for Apache Kafka Connect. We are also going to talk about the objectives and the structure of the course.

Section 2 – Apache Kafka Connect Concepts: In this section, we will learn about what is Kafka Connect, Apache Kafka Connect architecture, we will talk about Connectors, Configuration, Tasks, Workers. We are also going to learn the difference between the standalone vs distributed mode of the Kafka Connect.

Section 3 – Setup and Launch Kafka Connect Cluster: In this sections, we will learn how to install Docker on your machine and get started with Apache Kafka Connect in the simplest way possible using Docker Compose.

Section 4 – Apache Kafka Connect Data Source – Hands-on: In this section, we will gain some practical experience on Kafka Connect Data Source. We will learn the Kafka Connect Data Source architecture and the list of available connectors. We will have some hands-on practice and learning on File Stream Source Connector both standalone and distributed, and on Twitter Source Connectors…!!!

Section 5 – Apache Kafka Connect Data Sink – Hands-on: In this section, we will gain some practical experience on Kafka Connect Data Sink. We will learn the Kafka Connect Data Sink architecture, Apache Kafka Connect REST API’s and we will have some hands-on practice and learning on Elastic Search Sink Connector and on JDBC Sink Connectors…!!!

Section 6 – Next Steps: In this section, we are going to conclude the course and going to see what is next step you can follow.

You have lifetime access to the course and 30 days’ money back guarantee, so what are you thinking? Click on “Enroll Now” button now and see you inside the course…!!!

Course Introduction

Important Pre-Requisites

Pre-requisites for this Kafka Connect course

Course Objectives

Learn about the course objectives:

- Learn about Kafka Connect concepts
- Install Docker and launch our Kafka cluster and Kafka Connect Cluster
- Deploy your first Source connectors
- Deploy your first Sink connectors

Course Structure

Learn about the course structure

About Your Instructor

Learn a bit about your instructor

Code Download

Code Download

Kafka Connect Concepts

What is Kafka Connect?

Understand what is Kafka Connect, the problems it solves in the Kafka world

Kafka Connect Architecture Design

Learn about the typical Kafka Connect Architecture in your enterprise

Connectors, Configuration, Tasks, Workers

Deeper dive into Kafka Connect concepts, learn about Connectors, Configurations, Tasks and Workers

Standalone vs Distributed Mode

Learn about the two modes to launch Kafka Connect, Standalone mode and Distributed Mode, and their pros and cons

Distributed Architecture in Details

Visit the Kafka Connect distributed architecture and concepts in details

Setup and Launch Kafka Connect Cluster

Important information about installation
Docker on Mac (recent versions)

Install Docker on the more recent Mac versions

Docker Toolbox on Mac (older versions)

Install Docker Toolbox on the less recent Mac versions

Docker on Linux (Ubuntu as an example)

Install Docker on Linux

Docker on Windows 10 64bit

Install Docker on Windows 10 64bit

Docker Toolbox on Windows (older versions)

Install Docker Toolbox on the other Windows versions

Important note for Docker Toolbox users

Note for Docker Toolbox users

Starting Kafka Connect Cluster using Docker Compose

Instructions to start our Kafka connect cluster using the Docker installation we have just created

Troubleshooting Kafka Connect

It's not working! What to do?

Steps to troubleshoot an error

Where to view logs?

Where to view the Kafka Connect logs

Asking a question in the Q&A

How to ask a question in the Q&A

Kafka Connect Source - Hands On

Kafka Connect Source Architecture Design

Looking at the Connect Source Architecture design that we will go over in this section

FileStream Source Connector - Standalone Mode - Part 1

Running our first source connector in standalone mode!
This goes over the setup of the worker and the setup of the standalone connector

FileStream Source Connector - Standalone Mode - Part 2

Running our first source connector in standalone mode! 
This goes over the deployment of that connector

FileStream Source Connector - Distributed Mode

Learn how to run our file source connector in distributed mode

List of Available Connectors

Overview of the list of available connectors online, and the list of connectors available on our docker image

Twitter Source Connector - Distributed Mode - Part 1

Look at the configuration for the Twitter Source Connector

Twitter Source Connector - Distributed Mode - Part 2

Deploy and analyse the output of the Twitter Source Connector on our Kafka Connect Cluster

Section Summary

Summary of what we have learned for the Section on Kafka Connect Source Connectors

Kafka Connect Sink - Hands On

Kafka Connect Sink Architecture Design

Architecture discussion for the sink connectors in distributed mode

ElasticSearch Sink Connector - Distributed Mode - Part 1

Launching our first Sink Connector in Distributed mode, to put data into ElasticSearch

ElasticSearch Sink Connector - Distributed Mode - Part 2
Kafka Connect REST API

Learn about the Kafka Connect REST API, so you can speed up and automate your connector deployments and monitoring

JDBC Sink Connector - Distributed Mode

Learn about the JDBC Sink Connector, that we will launch in distributed mode. The data will go directly into PostgreSQL

Writing your own Kafka Connector

Goal of the section: GitHubSourceConnector

Overview of the Source Kafka Connector, the GitHubSourceConnector

Finding the code and installing required software

Where to download the code

Description of the GitHub Issues API

Description of the GitHub API

Using the Maven Archetype to get started

Using the Maven Archetype to create your source and sink connectors

Config Definitions

Creating our first Config Definition and define all the parameters needed for our application

Connector Class

Analysis of the Source Connector Class

Writing a schema

Writing our different schemas that will be used for keys and values

Data Model for our Objects

Creating the Plain Old Java Objects for our data

Writing our GitHub API HTTP Client

Writing the GitHub API HTTP Client

Source Partition & Source Offsets

Learn what Source Partition and Source Offsets are used for

Source Task

Source Tasks analysis

Building and running a Connector in Standalone Mode

Learn how to use Maven to build and run our connector

Command for next lecture
Deploying our Connector on the Landoop cluster

Learn how to deploy the jars onto the Connect Cluster

More Resources for Developers

Links to more resources available online to write your own connectors

Advanced Concepts

Setting up Kafka Connect in Production (1/2)

Learn how to start your own Kafka Connect Cluster

Setting up Kafka Connect in Production (2/2)

Learn how to start your second Connect Worker and the Kafka Connect UI

What's next?

Next steps in your learning of Kafka Connect

Congratulations and Thank you!


Bonus Lecture - Coupons For My Other Courses - Student Special Offer

Bonus Lecture: Student Special Coupons for my Other courses

Check out my other courses and keep on learning! Coupons inside :)

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.6 out of 5
1270 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


4 hours on-demand video
5 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion