Create Kafka Consumers With Reactor Kafka
1. Introduction Apache Kafka is a popular distributed event streaming platform, and when combined with Project Reactor, it enables building resilient and reactive applications. Reactor Kafka is a...
View ArticleHow to Distinguish Between Field Absent vs. Null in Jackson
1. Introduction In this tutorial, we’ll explore ways to configure Jackson’s ObjectMapper to handle serialization and deserialization for null and absent values. Finally, we’ll demonstrate a real-world...
View ArticleSorting Alphanumeric Strings in Java
1. Introduction Sorting alphanumeric strings is a common task in Java when dealing with mixed sequences of numbers and letters. This is particularly useful in file sorting, database indexing, and UI...
View ArticleHow to Connect Kafka with ElasticSearch
1. Overview In this tutorial, we’ll learn how to connect Apache Kafka to ElasticSearch using the Kafka Connector Sink. The Kafka project provides Kafka Connect, a powerful tool that allows seamless...
View ArticleIntroduction to ActiveJ
1. Overview ActiveJ is a lightweight Java framework for high-performance applications. We can use it to create minimalistic and modular applications with a fast startup and a small memory footprint. It...
View ArticleImplement SASL Authentication in Kafka With JAAS Config
1. Overview Authentication is a fundamental aspect of designing any messaging system like Kafka. We can implement authentication with approaches like user-based credentials, SSL certificates, or...
View ArticleJava Weekly, Issue 582
1. Spring and Java >> Database Migrations in the Real World [jetbrains.com] Executing database migrations is a complex process with challenges like security, downtime, or backward compatibility....
View ArticleHow to Add Partitions to an Existing Topic in Kafka
1. Overview Kafka is an extremely popular messaging queue with lots of features. We store messages inside a topic in Kafka. Topics are, in turn, divided into partitions where messages are actually...
View ArticleComposite Item Reader in Spring Batch
1. Introduction In Spring Batch, the CompositeItemReader is a tool for combining multiple ItemReader instances into a single reader. This is particularly useful when we need to read data from multiple...
View ArticleGetting Started With jMonkeyEngine
1. Introduction jMonkeyEngine is a modern, developer-friendly game engine that we can use to build games or other 3D applications in Java. In this tutorial, we’ll examine jMonkeyEngine, learning what...
View ArticleHow to Run Selenium Regression Tests With GitHub Actions
1. Overview Regression tests ensure builds are ready for release by providing critical feedback. As the codebase evolves with new requirements, bug fixes, and enhancements, running these tests...
View ArticlePrinting out a LinkedList Using toString()
1. Introduction In Java, a LinkedList is a commonly used data structure that allows dynamic memory allocation and efficient insertions or deletions. There are multiple ways to print a LinkedList’s...
View Article