• Spring is a Dependency Injection framework to make java applications loosely coupled.
  • Spring framework makes the development process easy for JavaEE applications.
  • Spring enables you to build applications from “plain old Java objects” (POJOs) and to apply enterprise services non-invasively to POJOs.
  • Spring was developed by Rod Johnson in 2003.

Introduction to Spring Framework

I) Core Container

The Semantics tags were introduced in HTML5, which add meaning to Browser, Webpage, and Code.

Before Semantics tags:-

Before HTML5 we put every content in <div>, with HTML5 we got the Semantics tags. These tags represent what tags actually are doing i.e it is adding meaning to the code.
Examples of non-semantic elements: <div> and <span> which tells nothing about its content.

Important Semantics tags include:-

<header>: The…

Have you ever wondered that how the search engine finds our content?

Q. What <meta> tags actually are?

Meta tags are the tags or snippets to describe the page’s content and don’t appear in the body of the webpage, normal user can’t see them, well it just describes some stuff about the page.

Different attributes in <meta> tag.

let’s take an…

Spring KafkaTemplate

Kafka template is a class that is part of the Spring to produce messages into the Kafka Topics.


→ Think KafkaTemplate as a JDBCTemplate for database interactions.

The KafkaTemplate wraps a producer and provides convenient methods to send data to Kafka topics. The following listing shows the relevant methods from KafkaTemplate:

— If you look below it has many different overloaded versions of KafkaTemplate with send method.

Internal Working of Kafka Template.

Do you have an understanding of how Kafka Template works internally?


The KafkaTemplate.send() is going to send the message to Kafka. But in reality, it goes through different layers before the message is sent to Kafka.


— The very first layer is the serializer. Any records sent to Kafka need to be serialized to bytes.

There are two serialization techniques that…

Consumer Group

The consumer group-id is mandatory, it plays a major role when it comes to scalable message consumption.

  • To start a consumer group-id is mandatory.
  • group-id plays a major role when it comes to scalable message consumption.

What is message consumption?

let’s consider we have a topic test-topic and 4 partitions. Now we have a consumer-ready with group 1. …

Sagar Kudu

Software Engineer at HCL | Technical Content Writing | Follow me on LinkedIn https://www.linkedin.com/in/sagarkudu/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store