Blog Archives

01: 15+ Apache Kafka must-know basics interview Q&As – Part 1

Apache Kafka is used in Micro Services Architecture (i.e. MSA) to Big Data & Low Latency application architectures.

Q1. What is Apache Kafka?
A1. Apache Kafka is a distributed messaging broker. The purpose of the Kafka project is to provide a unified, high-throughput, and low latency platform for real-time data processing. Kafka delivers the following three key functions:

1) Kafka publish-subscribe paradigm: Kafka supports publish & subscribe model similar to other traditional messaging systems like Active MQ, Rabbit MQ, Websphere MQ, etc. The publish-subscribe paradigm is facilitated by a number of brokers in a cluster, and each broker will have a number of topics to which producers can publish & consumers can subscribe. Each topic is further partitioned to provide parallelism & fault tolerance whereby messages can be published & consumed in parallel. The partitions are replicated (e.g 3 times) across the brokers to give fault tolerance. One partition will act as a leader & the remaining partitions will be followers. Messages can be published to & subscribed from a leader partition. If a broker with a leader partition goes down, one of the follower partitions will be elected as a leader partition from one of the other active brokers.

2) Storage: as Kafka securely stores streaming data in a distributed and fault-tolerant cluster. The data retention period can be configured. The default retention period is 168 hours, which is 1 week.… Read more ...



01: 15+ Apache Kafka must-know basics interview Q&As – Part 2

This extends 8 Apache Kafka must-know basics interview Q&As – Part 1. Q4. What do you understand by the term “data is presented to Kafka as stream”? A4. This means either the Data is acquired from source systems in real time or as a scheduled extract process, the data is…

Read more ...


01: 15+ Apache Kafka must-know basics interview Q&As – Part 3

This extends Apache Kafka must-know basics interview Q&As – Part 2. Q10. What do you understand by the terms Kafka Consumer Groups & group.id? A10. Consumers read from any single partition, allowing you to scale throughput of message consumption as depicted below. Consumers can also be organised into consumer groups…

Read more ...


16 FAQ JMS interview Q&As

Q1. What types of messaging paradigms are provided by JMS? A1. Point-to-Point: provides a traditional queue based mechanism where the client application sends a message through a queue to typically one receiving client that receives messages sequentially. A JMS message queue is an administered object that represents the message destination…

Read more ...


500+ Enterprise & Core Java programmer & architect Q&As

Java & Big Data Tutorials

Top