Author: Mohd Shahrukh

Apache Kafka with Spring Boot

Reading Time: 3 minutes Overview of Apache Kafka Apache Kafka is A high-throughput distribute streaming platform. It’s a publish-subscribe messaging rethought as a distributed commit log A streaming platform has three key capabilities: Publish and subscribe to streams of records, similar to a message queue or enterprise messaging system Store streams of records in a fault-tolerant durable way Process streams of records as they occur. Apache Kafka’s Distributed Architecture Continue Reading

How does HashMap Works Internally?

Reading Time: 7 minutes What is HashMap? Basically, HashMap is one of the most popular Collection classes in java. HashMap internally uses HashTable implementation. This HashMap class extends AbstractMap class that implements the Map interface. Few important points about HashMap : HashMap uses its static inner class Node<K,V> for storing the entries into the map. HashMap allows at most one null key and multiple null values. The HashMap class does not preserve the order of insertion of entries into the map. HashMap has multiple buckets or bins which contain a Continue Reading