Overview : About Kafka
-
What is Kafka - Kafka is a cluster.
-
What is Cluster - It’s a group of system
-
What all are the component inside Kafka - Kafka
Broker and Zookeeper
-
What is Zookeeper - Zookeeper is used to balance
the load. Ex : If primary node server is down and it will automatically move it
into secondary node… So, the application will not get impact.
-
What is Kafka Broker - It will help to pass the
message (data) into consumer.
Overall flow is:
Multiple producer will feed
the data into Kafka cluster and multiple consumer will get the data from Kafka
and will move it into data center.
The data will be moved
based on below identity.
1.
Producer + Topic + Offset
Example : Producer is Shopname +
Topic is Sales + Offset (sequence data )
Shop Name = 101
Sales = 201
Offset = 301
The consumer will receive the data
like 101201301 and will feed it into datacenter.
Note: Kafka cluster can able to
candle more than one producer and consumer, the consumer will get the data
based upon kafka broker partition.
Comments
Post a Comment