Is Kafka and Zookeeper are required in a Big Data Cluster?

0 votes

I want to deploy a big data cluster so, when I searched I found that Apache Kafka and Zookeeper should also be present in a hadoop cluster. But I didn’t understand about its usage. Does both really required and for what purpose?

Mar 22, 2018 in Big Data Hadoop by Shubham
• 13,310 points
445 views

1 answer to this question.

0 votes

Apache Kafka is one of the components present in Hadoop ecosystem and it actually runs with zookeeper on top of it. 

Here’s a brief about kafka: 

Apache Kafka is a distributed streaming platform that lets you publish and subscribe to streams of records. 

Note: Publish/Subscribe is a messaging model where senders send the messages, which are then consumed by the multiple consumers. 

Basically, Kafka is a data ingestion mechanism through which you can load data into Hadoop clusters in real time. 

Website activity tracking, Log aggregation, Stream processing are some of the use cases of Kafka.

Kafka Architecture:

image

Relate the below-given terminologies with the above Kafka Architecture: Producer: A producer can be any application who can publish messages to a topic. 

Topic: A topic is a category or feed name to which records are published. 

Consumer: A consumer can be any application that subscribes to a topic and consume the messages. 

Broker: Kafka cluster is a set of servers, each of which is called a broker. 

While, ZooKeeper is used for managing, coordinating Kafka broker. Each Kafka broker is coordinating with other Kafka brokers using ZooKeeper. Producer and consumer are notified by ZooKeeper service about the presence of new broker in Kafka system or failure of the broker in Kafka system.

answered Mar 22, 2018 by nitinrawat895
• 10,730 points

Related Questions In Big Data Hadoop

0 votes
1 answer

What is the use of Apache Kafka in a Big Data Cluster?

Kafka is a Distributed Messaging System which ...READ MORE

answered Jun 21 in Big Data Hadoop by ravikiran
• 4,560 points
29 views
0 votes
1 answer

What is the difference between a Big Data Warehouse and a traditional Data Warehouse?

Hadoop is similar in architecture to MPP data ...READ MORE

answered Aug 9, 2018 in Big Data Hadoop by Frankie
• 9,810 points
92 views
0 votes
1 answer

What is the difference between a Big Data Warehouse and a traditional Data Warehouse

Hadoop is similar in architecture to MPP data ...READ MORE

answered Aug 9, 2018 in Big Data Hadoop by Frankie
• 9,810 points
51 views
0 votes
1 answer

What is Kafka? what is its importance in Big-Data?

Apache Kafka is a tool used in ...READ MORE

answered Apr 11 in Big Data Hadoop by ravikiran
• 4,560 points
72 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
1,228 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,730 points
3,374 views
0 votes
1 answer

How to get started with Hadoop?

Well, hadoop is actually a framework that ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by coldcode
• 2,020 points
106 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,807 views
0 votes
1 answer

How is kafka used in big-data?

I can brief you the answer here ...READ MORE

answered Mar 26 in Big Data Hadoop by nitinrawat895
• 10,730 points
72 views
0 votes
1 answer