Author: Shivam Roy

man holding white teacup in front of gray laptop

Deep dive into Spring Reactive WebClient

Reading Time: 3 minutes Introduction Spring Reactive WebClient is a non-blocking, reactive HTTP client that can be used to consume RESTful web services. It provides an easy-to-use and efficient way to communicate with remote APIs, allowing you to perform asynchronous and reactive programming. In this blog, we will discuss how Spring Reactive WebClient works and how you can use it to consume RESTful web services. If we talk about Continue Reading

person holding smartphone while using laptop

How WebClient is different from RestTemplate?

Reading Time: 3 minutes Overview WebClient and RestTemplate are two popular ways to make HTTP requests in a Java application. While WebClient and RestTemplate both allow you to interact with RESTful web services, there are some key differences between the two. What is WebClient? WebClient is a newer HTTP client introduced in Spring 5. It’s a non-blocking, reactive HTTP client designed for use with Spring WebFlux. WebClient is built Continue Reading

serious black man working on laptop in light room

Introduction to Reactive Programming

Reading Time: 4 minutes Overview In recent years, Reactive programming has gained popularity. Now it is frequently utilized programming paradigm in the creation of cutting-edge, responsive, and scalable systems. Based on the concepts of asynchronous data streams, reactive programming offers a method for handling events and data flows non-blocking and responsively. In this blog post, we will provide an introduction to Reactive Programming and explore its key concepts and Continue Reading

Programmers working on computer program

Liquibase with Maven and PostgreSQL

Reading Time: 3 minutes Overview Firstly the goal of this blog is to walk you through setting up a new Maven project on a Linux, Unix, or Mac computer with PostgreSQL. You will generate an example project in this tutorial. Then follow the instructions to put the concepts you learn about building new Liquibase projects in Maven into practice. We will start this blog by installing and configuring Liquibase. Continue Reading

Managing database schema with Liquibase

Reading Time: 3 minutes What is Liquibase? First, Liquibase is an open-source database schema change management tool that makes it simple for you to handle database change revisions. How Does Liquibase Work? Regardless of your database platform, changes are defined in a platform-neutral language. In essence, you maintain a running list of modifications. And, Liquibase uses its execution engine to make those modifications for you. It requires the appropriate Continue Reading

Man working at night coding and pointing on a screen with a pen

Introduction to Liquibase

Reading Time: 2 minutes Overview Liquibase allows you to specify desired database changes using SQL and several other database-independent formats such as XML, YAML, and JSON. Developers can abstract database code to make the propagation of changes to different database types much more accessible. Before you start, If you don’t have a Liquibase account, create your Liquibase Hub account first. Download and extract Liquibase Download Liquibase. Run the installer or extract the downloaded files. Open a terminal to view your new directory: Configure Continue Reading

Router Function in Spring Webflux

Reading Time: 3 minutes Overview In Spring WebFlux, router functions are used to route requests to the corresponding HandlerFunction. Typically, you don’t write router functions yourself, but use a method in the RouterFunctions handler class to create them. RouterFunctions.route() (with no parameters) gives you a fluent constructor to create a router function, while RouterFunctions.route(RequestPredicate, HandlerFunction) gives you a direct way to create a router. It is generally recommended to Continue Reading

Visualizing data - blue matrix with data, electronic, digital, abstract, dark blue, data science

Logging in Spring WebFlux

Reading Time: 2 minutes Overview: DEBUG level logging in Spring WebFlux is compact, minimal, and human-friendly. Itfocuses on high-value bits of information that are useful over and over again vs others that areapplicable only when debugging a specific issue. TRACE level logging generally follows the same principles as DEBUG (and for example also should notbe a firehose) but can be used for debugging any issue. In addition, some log Continue Reading

Getting started with Spring Webflux

Reading Time: 3 minutes Overview Hello everyone, In this blog, I am going to discuss an introduction to webflux. The original web framework included in the Spring Framework, Spring Web MVC, was purpose-built for the Servlet API and Servlet containers. The reactive-stack web framework, SpringWebFlux was added later in version 5.0. What is Spring Webflux? Spring Webflux is fully non-blocking and supports Reactive Streams back pressure. It runs on Continue Reading

Kafka Connect example: Mysql to Elastic Search

Reading Time: 3 minutes Overview: Hello everyone, in this blog, we will see an example of Kafka connect in which we will take a MySQL table, stream it to a Kafka topic, and from there load it to Elasticsearch and index its content. Installation: Now first of all we will install MySQL and Elastic search to our local system. For installing simply run: The next step is to make Continue Reading

How to use Kafka Connect to stream data

Reading Time: 2 minutes Overview: In this blog, I am going to discuss how to use Kafka Connect to stream data. In this blog, I’ll be taking an example and then elaborate on it. That example will be based on how can we stream data which is file test.tx to a destination which is also a file, test.sink.txt with the help of Kafka connect. I will be using standalone Continue Reading

Getting started with Kafka Connect / Connectors

Reading Time: 3 minutes Overview: In this blog, we will be going to deep dive in with Kafka Connect and know about some basic fundamentals of it. Apache Kafka is one of the central technologies in Undertaking Models these days. More than 60% of Fortune 500 companies are utilizing Kafka. The innovation has advanced apart over the final decade i.e. from Pub/Sub to a Total Occasion Streaming Stage. Therefore, The exceptionally begins necessity to work in an occasion-driven framework is to ingest data/events. For the same reason, Kafka Interface was involved in the Kafka Biological system in 2015. This empowers us to coordinate outside frameworks without composing a Continue Reading

Getting Started with Kotlin

Reading Time: 2 minutes Introduction: In this blog, I am going to discuss the basics of the kotlin programming language. Kotlin is a statically, typically programmed programming language developed by JetBrains. It produces world-class IDEs like IntelliJ IDEA, PhpStorm, Appcode, etc. However, It was first introduced by JetBrains in 2011 with the new JVM language. It is an object-oriented language and a “better language” than Java. This language is Continue Reading