Page 1
Exception Handling in Spring for Apache Kafka Streams – Part 2
In the previous tutorial, we explored two types of exception handlers in Spring for Apache Kafka Streams: DeserializationExceptionHandler and ProcessingExceptionHandler. In this tutorial, let’s learn about the remaining exception handler, ProductionExceptionHandler! As I mentioned in the previous tutorial, ProductionExceptionHandler handles errors that occur when the… Read More
Exception Handling in Spring for Apache Kafka Streams – Part 1
To handle potential exceptions in applications using Spring for Apache Kafka Streams, you can configure the following settings: Configuration Handles Typical examples DESERIALIZATION_EXCEPTION_HANDLER_CLASS_CONFIG Consumer deserialization failures Invalid JSON, corrupted Avro/Protobuf, wrong Serde PROCESSING_EXCEPTION_HANDLER_CLASS_CONFIG Exceptions thrown while processing records NullPointerException, ArithmeticException, business logic exceptions in map(),… Read More
Quarkus Tutorial for Java Developers | Introduction to Supersonic Subatomic Java
Classpath in Java: What It Is and Why Your Application Can’t Find Classes
Exception Handling with Dead Letter Queues (DLQ) in Spring Kafka & Kafka Streams
Package statement in Java
In Java, a package is a way to organize related Java classes within a namespace. It’s like the folders on your computer; instead of putting all Java classes into a single package in a specific folder, we separate them into different packages in different folders.… Read More
ThreadLocal Memory Leak in Java | Why You Must Call remove() with Thread Pools
Exception Handling in Spring Kafka & Kafka Streams | Deserialization, Processing & Production Errors