Kafka Stream With Spring Boot

Overview: In this tutorial, I would like to show you how to do real time data processing by using Kafka Stream With Spring Boot. Stream Processing: In the good old days, we used to collect data, store in a database and do nightly processing on the data. It is called batch processing! In this Microservices

Kafka Stream With Spring BootRead More »

MicroServices – DTO to Entity & Entity to DTO Mapping – Libraries Comparison

Overview: In this article, I would like to show you the performance of few libraries when we do the Entity to DTO conversion or vice versa. Goal: I have an Entity class as shown here. public class Car { private long id; private String make; private int numOfSeats; private Date releaseDate; private Engine engine; //getters

MicroServices – DTO to Entity & Entity to DTO Mapping – Libraries ComparisonRead More »

Kubernetes Liveness Probe vs Readiness Probe

Overview: In this article, I would like to show you the difference between the Kubernetes Liveness probe vs Readiness probe which we use in the Pod deployments yaml to monitor the health of the pods in the Kubernetes cluster. Need For Probes: Pod is a collection of 1 or more docker containers. It is an

Kubernetes Liveness Probe vs Readiness ProbeRead More »

Kafka – Scaling Consumers Out In A Consumer Group

Overview: This is a 3rd part in the Kafka series. If you have not read the previous articles, I would encourage you to read those in the below order. Kafka – Local Infrastructure Setup Using Docker Compose Kafka – Creating Simple Producer & Consumer Applications Using Spring Boot We had already seen producing messages into

Kafka – Scaling Consumers Out In A Consumer GroupRead More »

Kafka – Creating Simple Producer & Consumer Applications Using Spring Boot

Overview: In the previous article, we had discussed the basic terminologies of Kafka and created local development infrastructure using docker-compose. In this article, I would like to show how to create a simple kafka producer and consumer using Spring-boot. Prerequisite: Java 8 or above installed Kafka is up and running Goal: Aim of this post

Kafka – Creating Simple Producer & Consumer Applications Using Spring BootRead More »

Kafka – Local Infrastructure Setup Using Docker Compose

Overview: Kafka is a distributed event streaming application. If you are not sure what it is, you can compare it with a message queue like JMS, ActiveMQ, RabbitMQ etc. However it can do a lot more than these message queues. Kafka is little bit difficult to set up in local. It is mainly because of its

Kafka – Local Infrastructure Setup Using Docker ComposeRead More »

Best Practices – Inspecting Selenium Tests Code Quality Using SonarQube

Overview: In the good old days, automation scripts were mostly record and playback! That was because most of the people who were doing automation were manual testers turned into automation engineers. It was rare to see a a good framework for automated testing. Now situation is completely different. Thanks to DevOps process – everyone understands the

Best Practices – Inspecting Selenium Tests Code Quality Using SonarQubeRead More »

Selenium Docker Integration Through Jenkinsfile – Managing Local Docker Registry

Overview: We already have seen few articles on Selenium Docker Integration Through Jenkinsfile series. If you have not read the Part 1 to 3, I would request you to check below. Selenium Docker Integration Through Jenkinsfile – Part 1 – Setting Up Tests & Dependencies Selenium Docker Integration Through Jenkinsfile – Part 2 – Building Docker Image &

Selenium Docker Integration Through Jenkinsfile – Managing Local Docker RegistryRead More »