Memorynotfound Java Programming Tutorials
Spring Kafka and Spring Boot Configuration Example
In the following tutorial we demonstrate how to configure Spring Kafka with Spring Boot. Spring Boot uses sensible default to configure Spring Kafka. We can override these defaults using the application.yml property file. Project...
Spring Kafka – Batch Listener Example
In the following tutorial we demonstrate how to setup a batch listener using Spring Kafka, Spring Boot and Maven. We start by configuring the BatchListener. You can optionally configure a BatchErrorHandler. We also demonstrate...
Spring Kafka – JSON Serializer and Deserializer Example
The following tutorial demonstrates how to send and receive a Java Object as a JSON byte[] to and from Apache Kafka using Spring Kafka, Spring Boot and Maven. We’ll send a Java Object as...
Spring Kafka – Adding Custom Header to Kafka Message Example
In this tutorial we demonstrate how to add/read custom headers to/from a Kafka Message using Spring Kafka. We start by adding headers using either Message<?> or ProducerRecord<String, String>. Followed by reading the values inside...
Spring Kafka – Consumer and Producer Example
This tutorial demonstrates how to send and receive messages from Spring Kafka. We start by creating a Spring Kafka Producer which is able to send messages to a Kafka topic. Next we create a...
Apache PDFBox Extract Images from PDF Document
This tutorial demonstrates how to extract images from a PDF document in Java using Apache PDFBox. Maven Dependencies We use Apache Maven to manage our project dependencies. Make sure the following dependencies reside on...
Apache PDFBox Convert PDF to Image in Java
This tutorial demonstrates how to convert a PDF document to images in Java using Apache PDFBox. Maven Dependencies We use Apache Maven to manage our project dependencies. Make sure the following dependencies reside on...
Apache PDFBox Encrypt Decrypt PDF Document Java
This tutorial demonstrates how to add a password and encrypt a PDF document in Java using Apache PDFBox. We also show how to decrypt a password protected PDF document. Maven Dependencies We use Apache...
Apache PDFBox Add Watermark to PDF Document
This tutorial demonstrates how to add a watermark to a PDF document in Java using Apache PDFBox. Maven Dependencies We use Apache Maven to manage our project dependencies. Make sure the following dependencies reside...