Apache Kafka Interview Questions and Answers
Q1) .Mention what is Apache Kafka? Ans: Apache Kafka is a publish-subscribe messaging system developed by Apache written in Scala. It is a distributed, partitioned and replicated log service. Q2). Mention what is the traditional method of message transfer? Ans: The traditional method of message transfer includes two methods Queuing: In a queuing, a pool of consumers may read message from the server and each message goes to one of them • Publish-Subscribe: In this model, messages are broadcasted to all consumers Kafka caters single consumer abstraction that generalized both of the above- the consumer group. Q3). Mention what is the benefits of Apache Kafka over the traditional technique? Ans: Apache Kafka has following benefits above traditional messaging technique Fast: A single Kafka broker can serve thousands of clients by handling megabytes of reads and writes per second • Scalable : Data are partitioned and streamlined over a cl...