Kafka Basics and Develop Kafka Java Clients

Learn Kafka Basics and Kafka Client Development in Java

This course is Kafka basics course and is for Kafka beginners.

What you’ll learn

  • Learn Kafka Basics.
  • Learn to setup Kafka locally.
  • Learn to use Kafka CLI.
  • Learn to Build Producer and Consumer in Java.

Course Content

  • Course Structure –> 1 lecture • 1min.
  • Kafka Basics –> 5 lectures • 27min.
  • Producers and Consumers –> 4 lectures • 25min.
  • Setup and Start Kafka –> 5 lectures • 32min.
  • Working with Kafka CLI –> 5 lectures • 52min.
  • Build Kafka Clients in Java –> 7 lectures • 53min.

Auto Draft

Requirements

This course is Kafka basics course and is for Kafka beginners.

This course covers all the basic concepts of Kafka like:

  • What is event streaming?
  • What is Kafka and what are its industry use cases?
  • Kafka components like – Topic, Partitions, Offsets etc.
  • What are producers and how they write data to Kafka.
  • What are consumers and how they read data from Kafka.
  • What is a consumer group?
  • Architecture of Kafka.
  • What is a zookeeper?
  • What is a broker?
  • Partition distribution and replication in distributed architecture.

 

How to setup Kafka locally on your machine:

  • Download and setup Kafka on Linux.
  • Configure properties files and Start Kafka servers (zookeeper and broker) on Linux.
  • Download and setup Kafka on Windows.
  • Configure properties files and Start Kafka servers (zookeeper and broker) on Windows.

 

How to use Kafka CLI:

  • Create topics using CLI – set partition and replication-factor
  • Create producers using CLI and write data to Kafka topic
  • Create consumers using CLI and read data from Kafka topic
  • Create consumer group using CLI

 

Finally learn how to develop Kafka clients in Java:

  • Develop Kafka producer in Java which will write data to Kafka.
  • Write data to Kafka in Key-Value pair using producer.
  • Develop Kafka consumer in Java which will read data from Kafka.
  • Run multiple consumers in a group and observe the behavior.

 

By the end of the course you will be comfortable in Kafka basics and will have a good understanding of how to create your own Kafka producers and consumers.

Get Tutorial