Prev Next

MuleESB / Apache Kafka Interview questions

Could not find what you were looking for? send us the question and we would be happy to answer your question.

1. Mention some of the Apache Kafka terminologies.
  • Producer is an application that sends message/data to the Kafka.
  • Consumer is also an application that receives data from Kakfa,
  • Broker is nothing but the KAFKA Server,
  • Cluster, group of computer nodes sharing workload,
  • Topic, Kafka stream
  • Partitions, a portion of Topics
  • Offset, an unique id for a message within a partition,
  • and Consumer Groups, group of consumers acting as a single logical unit.
2. What is the Global Unique identifier of a Kafka Message?

Topic Name, Partition Number and Offset id identifies a message.

3. What is Apache Kafka?

Apache Kafka is a publish-subscribe open source message broker application.

It is an open-source stream-processing software platform developed by the Apache Software Foundation, written in Scala and Java. It is used for building real-time data pipelines and streaming apps. It is horizontally scalable, fault-tolerant and fast.

4. Explain the role of the ZooKeeper in Kafka.

Zookeeper builds coordination between different nodes in a cluster. Apache Kafka uses Zookeeper to recover from previously committed offset if any node fails because it works as periodically commit offset.

5. What is Apache ZooKeeper?

Apache ZooKeeper is an open-source server which enables highly reliable distributed coordination.

ZooKeeper acts as a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.

6. Difference between Apache Kafka and Confluent Kafka.

Apache Kafka is a community distributed event streaming platform capable of handling trillions of events a day. Initially conceived as a messaging queue, Kafka is based on an abstraction of a distributed commit log. Since being created and open-sourced by LinkedIn in 2011, Kafka has quickly evolved from messaging queue to a full-fledged event streaming platform.

Confluent Platform improves Kafka with additional community and commercial features designed to enhance the streaming experience of both operators and developers in production, at a massive scale.

«
»
Akka interview questions

Comments & Discussions