In this video, we're gonna go over how to setup the Kafka Client Library within IntelliJ. This will include creating a Kafka Consumer and Producer using Java and testing both using shell commands.
Timestamps:
Kafka/Zookeeper Initial Setup
(0:45) - Start Zookeeper Server
(1:10) - Start Kafka Broker
(1:38) - Create a Kafka Topic
(2:10) - List Kafka Topics
IntelliJ Project Setup
(2:50) - Create a New Project
(4:30) - Add KCL Dependencies
Setup and Create Kafka Producer
(5:45) - Create Producer Files
(6:10) - Write Code for Producer Logic (2x speed recommended)
(9:58) - Start Kafka Consumer (Terminal)
(10:30) - Test Kafka Producer
Setup and Create Kafka Consumer
(11:14) - Create Consumer Files
(11:39) - Write Code for Consumer Logic (2x speed recommended)
(16:12) - Fix Bug for Deserializer
(16:45) - Start Kafka Producer (Terminal)
(17:09) - Test Kafka Consumer
Final Test
(18:00) - Test Kafka Consumer and Producer within IntelliJ
Relevant Links:
https://kafka.apache.org/quickstart
https://kafka.apache.org/27/javadoc/o...
https://kafka.apache.org/27/javadoc/o...
More Tutorials (If you'd like):
http://computehustle.com/
If you have any video requests or just wanna chat, feel free to leave a comment below!