Setting up a single node Kafka Cluster on EC2

  Рет қаралды 5,831

Knowledge Amplifier

Knowledge Amplifier

Күн бұрын

Get a single node Kafka cluster up and running in next to no time!
For steps , check the pinned comment.
Prerequisite:
--------------------
Install and run Apache Kafka & integration with Python using kafka-python
• Install and run Apache...
Multiple Producer & Multiple Consumer in a Kafka Topic
• Multiple Producer & Mu...
Intuition on Log files in kafka & Kafka Brokers
• Intuition on Log files...
Broker Cluster and Zookeeper in Kafka
• Broker Cluster and Zoo...
Topics, partitions, and offsets in Kafka
• Topics, partitions, an...
Kafka Cluster with Multiple Brokers
• Kafka Cluster with Mul...
Topic with Replication in Multiple Broker Kafka Cluster
• Topic with Replication...
Check this playlist for more Data Engineering related videos:
• Demystifying Data Engi...
Snowflake Complete Course from scratch with End-to-End Project with in-depth explanation--
doc.clickup.co...
🙏🙏🙏🙏🙏🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY KZbin CHANNEL

Пікірлер: 17
@KnowledgeAmplifier1
@KnowledgeAmplifier1 2 жыл бұрын
Steps : ------------- Launch one EC2 Instance & install kafka-- wget dlcdn.apache.org/kafka/3.2.0/kafka_2.12-3.2.0.tgz tar -xvf kafka_2.12-3.2.0.tgz To install Java -- ----------------------- java -version sudo yum install java-1.8.0-openjdk java -version cd kafka_2.12-3.2.0 Start Zoo-keeper: ------------------------------- bin/zookeeper-server-start.sh config/zookeeper.properties Start Kafka-server: ---------------------------------------- Duplicate the session & enter in a new console -- export KAFKA_HEAP_OPTS="-Xmx256M -Xms128M" cd kafka_2.12-3.2.0 bin/kafka-server-start.sh config/server.properties It is pointing to private server , change server.properties so that it can run in public IP To do this , you can follow any of the 2 approaches shared belwo -- 1)Do a vi config/server.properties in insert mode -- change ADVERTISED_LISTENERS to public ip of the EC2 instance 2)You can modify the file using Winscp also Create the topic: ----------------------------- Duplicate the session & enter in a new console -- cd kafka_2.12-3.2.0 bin/kafka-topics.sh --create --topic demo_testing2 --bootstrap-server {Put the Public IP of your EC2 Instance:9092} --replication-factor 1 --partitions 1 Start Producer: -------------------------- bin/kafka-console-producer.sh --topic demo_testing2 --bootstrap-server {Put the Public IP of your EC2 Instance:9092} Start Consumer: ------------------------- Duplicate the session & enter in a new console -- cd kafka_2.12-3.2.0 bin/kafka-console-consumer.sh --topic demo_testing2 --bootstrap-server {Put the Public IP of your EC2 Instance:9092}
@hedonicas
@hedonicas Жыл бұрын
This is one of the best videos about Kafka on KZbin. Thank you sir!
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
You are welcome Burak Kılıç! Happy Learning
@moizdewaswala6717
@moizdewaswala6717 2 жыл бұрын
Thanks for explaining every small detail.
@ye__in
@ye__in Жыл бұрын
You are the best teacher! Thank you so much.
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
You are welcome 예부인 YEBUIN! Happy Learning
@handesubodh
@handesubodh Жыл бұрын
Very useful video, after long frustration this video helped me,,,, THANK YOU FOR THE VIDEO
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
Glad to know the video is helpful to you Subodh Hande! Happy Learning
@ShakeelAhmed-xo3xz
@ShakeelAhmed-xo3xz 5 ай бұрын
Very good and well explained
@KnowledgeAmplifier1
@KnowledgeAmplifier1 4 ай бұрын
Glad you liked it!
@cloudandsqlwithpython
@cloudandsqlwithpython Жыл бұрын
this is really great work Sir
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
Thank You!
@flesz_
@flesz_ 4 ай бұрын
nice do you have videos on how to use it with certificates or TLS encryption , rather than plaintext ? Also Kafka connect would be nice to see and using mirror maker
@danielarroyave3183
@danielarroyave3183 11 ай бұрын
Hi :) Can you explain us in another video how to set up kakfa and zookeeper as a service systemd? Thanks!
@shreyas-s5g
@shreyas-s5g Жыл бұрын
sir as of now i know only some basic linux commands, kindly publish a full playlist on linux from scratch if possible.
@JimRald-v3f
@JimRald-v3f 4 ай бұрын
Hi brother, How we can install Kafka cluster among multiple servers or EC2 instances and run Odoo ERP ap on that cluster. Thanks.
Kafka Log Segments in-depth intuition
10:14
Knowledge Amplifier
Рет қаралды 3,1 М.
AWS MSK Tutorial - Connect MSK Kafka Cluster to EC2 Instance
16:34
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,4 МЛН
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 29 МЛН
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 300 М.
Best Practices for Monitoring and Improving Kafka Performance
45:24
Spark Kafka Cassandra | End to End Streaming Project
30:51
Data Engineering
Рет қаралды 86 М.
A Simple Kafka and Python Walkthrough
11:34
Quix
Рет қаралды 20 М.
Topics, partitions, and offsets in Kafka
22:32
Knowledge Amplifier
Рет қаралды 7 М.
Apache Kafka in 6 minutes:  Apache Kafka Tutorial #1
6:34
Anton Putra
Рет қаралды 37 М.
Error Handling in Kafka Producer In-Depth Intuition
16:12
Knowledge Amplifier
Рет қаралды 4,2 М.
The Problem With Microservices
17:47
Continuous Delivery
Рет қаралды 434 М.
Introduction to Schema Registry in Kafka | Part 1
30:42
Knowledge Amplifier
Рет қаралды 9 М.
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,4 МЛН