RefactorFirst

Articles and tutorials about Java, Spring Boot, Software Development, and Programming. Learn about what is new in programming and look into how to optimize and write clean code.


Defining Event-Driven Architectures - AsyncAPI

In this article, I am going to be talking about how we can define your event-driven architectures using the AsyncAPI definition. Introduction A while ago, I published an article about how you can document REST APIs using Open API 3 specification... Read more

What are Java Records

Java Record Java record is a type of class whose sole purpose is to drive programming with immutable data. Let’s look at a simple example. public record Data( int x, int y) So here we have created a record with header x and y. Here x and y are ... Read more

Kind - A New Kubernetes Cluster

Recently I wanted to experiment with something on a Kubernetes cluster, and I didn’t want to spin up a new cluster on AWS and wanted something quick. Till now, Minikube was the only thing I was using as a local Kubernetes cluster. But I start not... Read more

Apache Airflow 2.0: A Practical Jump Start

In this article, I would like to give you a jump-start tutorial to understand the basic concepts and create a workflow pipeline from scratch. So let’s get started! Introduction Apache Airflow is an orchestration tool that helps you to programma... Read more

Spring Boot: API First Design

In this blog, I take a practical approach to API first design with an example using Open API 3 specification. Firstly, I describe how I created the API definition, then how I created the server and the client code from the API definition. Then I ... Read more