Author: Gaurav Dubey

Groovy CRUD Web App Using Micronaut

Reading Time: 3 minutes 1. About 1.1 Introduction Micronaut is an open-source JVM-based software framework for building lightweight, modular applications and microservices. It helps to create microservices with small memory footprints and quick startup time. 2. Use Case Let’s take a use case. We are going to create a web app with the help of Groovy and Micronaut to perform CRUD operations. For that, we have to implement the CRUD Continue Reading

Visualizing data - abstract purple background with motion blur, digital data analysis concept

Distributed tracing with Micronaut framework

Reading Time: 7 minutes 1. About 1.1 Micronaut Micronaut is an open-source JVM-based software framework for building lightweight, modular applications and microservices. It helps to create microservices with small memory footprints and quick startup time. 1.1 Distributed tracing Troubleshooting interactions between microservices in a distributed architecture can be challenging when operating microservices in production. There are variously distributed tracing solutions, the most popular of which are Zipkin and Jaeger, Continue Reading

Developing programming and coding technologies working in a software engineers.

Apache Camel Exception Re-try Policy

Reading Time: 4 minutes Apache Camel is a rules-based routing and arbitration engine that provides a Java object-based implementation of the Enterprise Integration Pattern, using an API (or Declarative Java Domain Specific Language) to configure routing and arbitration rules. We can implement exception handling in two ways Using Do Try block and OnException block . A re-try policy defines rules when Camel Error Handler perform re-try attempts. e.g you can setup Continue Reading

Introduction to EventStoreDB

Reading Time: 4 minutes EventStoreDB is an event sourcing database that stores your critical data in streams of immutable events. It was built from the ground up for Event Sourcing and offers an unprecedented solution for building event-sourced systems. It offers a low-level protocol in the form of an asynchronous TCP protocol that exchanges protobuf objects. Protobuf is a binary data-interchange format developed by Google, while JSON is the Continue Reading

EventStoreDB vs Kafka

Reading Time: 5 minutes There is a lot of confusion in the community regarding EventStoreDB and Kafka – especially when it comes to event sourcing. Developers are confused to deciding which technology they should use. How they compare and what are the balance factor that they will have to make. This article helps you to understand, what the two solutions offer, how to use them effectively. First we need Continue Reading

Event Sourcing with SpringBoot

Reading Time: 5 minutes The name directly comes from the fact that event sourcing events are the source of truth. So all of the other data and other data structures are just derived from the events. So we can erase in theory all of those other storages as long as we keep event lock then we can always regenerate them. Event sourcing contains a ordered of our operation so Continue Reading

Exception Handling in Apache Camel using Spring

Reading Time: 3 minutes Apache Camel is a rule-based routing and mediation engine that provides a Java object-based implementation of the Enterprise Integration Patterns using an API (or declarative Java Domain Specific Language) to configure routing and mediation rules. In this post we will implement Exception Handling in Apache Camel using Spring. Features of Apache Camel Apache camel is a lightweight framework. It provides us with a number of components. Continue Reading

Spring Cloud Gateway Pre and Post Filters

Reading Time: 4 minutes Spring Cloud Gateway Spring Cloud Gateway provides a flexible way of routing requests based on a number of criteria, as well as focuses on cross-cutting concerns such as security, resiliency, and monitoring. An API gateway allows you to implement the complexity separately from the client, moving that responsibility from user side to server side. All the client needs to know is how to talk to the gateway. It Continue Reading

Spring Cloud Gateway Custom Filter

Reading Time: 4 minutes Spring Cloud Gateway Spring Cloud Gateway provides a library for building API gateways on top of Spring and Java. It provides a flexible way of routing requests based on a number of criteria, as well as focuses on cross-cutting concerns such as security, resiliency, and monitoring. An API gateway allows you to implement the complexity separately from the client, moving that responsibility from user side Continue Reading

Object creation in Spring

Reading Time: 3 minutes In spring IOC container deals with Object creation, Dependency satisfaction, and Life-cycle Management. It states that application programmers should only be concerned with the use of objects. Object creation and their management should be handled by an IOC container. The delegation of responsibility from the programmer to the IOC container is known as Inversion Of Control. IOC container can create bean in two ways Directly, Continue Reading

Introduction to Spring MVC

Reading Time: 3 minutes Spring is the most commonly used framework in Java. It is a general purpose framework i.e it can be used in console applications, desktop applications, web applications, or web services. It is a modular framework i.e it contains different module. Core module : Provides basic IOC implementation web-mvc : Provides an mvc based framework for developing dynamic web-application. ORM-module : Facilitate integration to the framework Continue Reading

Introduction to Resilience4j

Reading Time: 3 minutes Resilience4j is a fault tolerance library designed for Java 8 and functional programming. It is lightweight, modular and really fast. We will talk about its modules and functionality later, but first, let’s discuss it briefly. Fault Tolerance The ability of some components of a system to function properly in the event of a failure. It sounds simple, but it is not that easy to achieve, Continue Reading

Introduction to MUnit

Reading Time: 3 minutes MUnit is a MuleSoft’s testing framework that allows developers to create, design and run unit tests on APIs and integrations created within Anypoint Studio. MUnit is fully integrated with Anypoint Studio, allowing you to create, design and run MUnit tests just like you would Mule applications. It provides a full suite of integration and unit test capabilities. Features available with Mule MUnit You can create Continue Reading