• More than 1000 Questions
  • Short Tests for revision
  • New Questions added Daily
  • Search by Topic, Level, Frequency & Company
  • Actively Moderated by experienced developers

Search Java Interview Questions

Best Java Question Repository on web. Click Here

Interview Questions and Answers on Apache Kafka

Q1. What is Apache Kafka ?

Ans. Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system through messages being written to logs.

Q2. What is a broker in Apache Kafka ?

Ans. Kafka is run as a cluster comprised of one or more servers each of which is called a broker.

Q3. What is a Topic in Apache Kafka ?

Ans. A topic is a category or feed name to which messages are published.

Q4. Do you know of any facility to convert between Scala and Java Util Collections ?

Ans. We can use JavaConversions which is a part of Scala Library.

Q5. Have you used Kafka in your project ? If Yes, for what ?

Ans. We were using Kafka as a replacement for JMS Message Queue for better throughput. We were just using a simple Java multi threaded client as order of message consumption didn't matter to us.

Q6. Does Kafka uses ZooKeeper ?

Ans. Yes

Stay updated with Java posts in your email.

Enter your email address:

Delivered by FeedBurner
Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner
comments powered by Disqus