Best Practices to Prevent PoolAcquireTimeoutException in Spring WebFlux

🚀 Fixing PoolAcquireTimeoutException in Spring WebFlux (Reactor Netty) 📌 Introduction If you are working with Spring WebFlux and Reactor Netty, chances are you may have encountered the dreaded PoolAcquireTimeoutException. This error typically occurs when your WebClient cannot acquire a connection from the pool within the configured timeout. In this post, we’ll break down why this … Continue reading Best Practices to Prevent PoolAcquireTimeoutException in Spring WebFlux →

Spark Scala Scaffold

Overview GitHub Link - https://github.com/Nasruddin/Spark-scala-scaffold This repository provides a scaffold for Apache Spark applications written in Scala. It includes a structured project setup with essential configurations, making it easier to kickstart Spark-based data processing projects. Dependencies This setup is built using Java 11 Scala 2.13.16 sbt 1.9.8 Spark 3.5.4 Features Pre-configured SBT build system Sample Spark job … Continue reading Spark Scala Scaffold →

Realtime Data Streaming with Kafka, Flink, Pinot, Superset, MySQL and Postgres using Python and Java provisioned by Docker Compose

Realtime Data Streaming Overview GitHub Repo Link - https://github.com/Nasruddin/realtime-streaming-kafka-flink-pinot-postgres-superset In modern data-driven applications, real-time data streaming has become a critical requirement for processing, analyzing, and storing large volumes of continuously generated data. This setup ensures scalable, low-latency, and fault-tolerant data streaming for real-time analytics and operational insights. This streaming pipeline uses Kafka, Flink, Apache Pinot, PostgreSQL, and MySQL, leveraging both Python … Continue reading Realtime Data Streaming with Kafka, Flink, Pinot, Superset, MySQL and Postgres using Python and Java provisioned by Docker Compose →

Install Spark and Scala on Mac OS/Unix

Big data has been quite a buzz for long time now. At times, newbies struggle to get their development environment ready specifically if you are using Spark with Scala. I will try to show how to set up your Big Data development environment using Spark and Scala. I am assuming that your workstation is equipped … Continue reading Install Spark and Scala on Mac OS/Unix →

Structure you Spring boot Application

In this post we will structure our previously build application. We will create model for entity, services for business logic, repository for persistence and controller for endpoints. Why structuring your application is so important? Because when enterprise applications grows it becomes a pain to maintain the application. So let's make it happen Let’s get started. Jump … Continue reading Structure you Spring boot Application →

Spring boot and MySql gossips!

In this post I will try to show how spring boot makes it so simple to integrate with a database server. Let's get started. Jump to Spring Initialize (http://start.spring.io/) to generate our project. Add few dependencies which will be required to build our application. Dependencies includes Web for REST, MySQL for JDBC Driver and JPA … Continue reading Spring boot and MySql gossips! →

Spring initializr: The creator!

In the previous post we had done a lot to get our first spring boot application up and running. In this post we will a very powerful web application which will help us building our production ready application in few seconds. Let's do it. Open the browser and go to http://start.spring.io/. This will render a page with … Continue reading Spring initializr: The creator! →

Bootstrap Spring Boot Application Project

What is Spring boot? Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration. Detailed Explanation here Let's create our first … Continue reading Bootstrap Spring Boot Application Project →