Monthly Archives: September 2023

Apache Kafka – How to install Kafka on Windows? | How to run Kafka?

Install and Run Apache Kafka on Windows Apache Kafka is an open-source distributed event streaming platform that acts as a high-throughput, fault-tolerant, and scalable message broker. It enables the efficient ingestion, storage, and distribution of data streams within a system. Producers publish data on specific topics, which are further partitioned for parallel processing. Consumers subscribe… Read More »

Apache Kafka – Apache Kafka Architecture

Apache Kafka To learn in more detail, please refer the Introduction to Apache Kafka. Apache Kafka Architecture The ecosystem of Apache Kafka consists of Kafka Clusters, these clusters contain Brokers, the broker contains Topics and the topics contain Partitions. Given below is the Kafka architecture diagram, which provides a complete picture of Kafka architecture. Components… Read More »

Observer design pattern in Java

The Observer design pattern is a Behavioral design pattern that defines a one-to-many dependency between objects so that when one object changes state, all its dependent objects (observers) are notified and updated automatically. This pattern is also known as the Publish-Subscribe pattern. Observer design pattern real world example Let’s understand the observer design pattern with… Read More »

Introduction to Apache Kafka

Apache Kafka Apache Kafka is an open-source distributed event streaming platform that is designed for high-throughput, fault-tolerant, and scalable real-time data streaming and processing. In other words, it is like a communication system that helps different parts of computer systems exchange data and information using the publish-subscribe model. In the above picture, we can see… Read More »

Shallow Copy Vs Deep Copy

Shallow Copy A shallow copy is a type of copy made by cloning or copying the original object, but it does not contain copies of objects nested within the original object. Instead, it creates a new copy that references the same nested objects as the original object. Let’s understand with the following diagram: As we… Read More »