Blog

In this lesson, you will learn how to consume messages or how to read messages from Apache Kafka topic using Kafka Consumer Command Line Interface(CLI). To learn how to produce or send messages to Kafka topic, please read the following tutorial: Kafka Producer CLI – Produce/Send message to Kafka topic. Consuming Messages From the Beginning…

Read More Kafka Consumer CLI – Consume/Read from Kafka Topic

In this tutorial, you will learn how to delete Apache Kafka topics using the Kafka Command-line Interface(CLI). Before Deleting Kafka Topic Before deleting a Kafka topic, there are a few things you should keep in mind: Deleting a topic is permanent: Once you delete it, it is gone forever. There is no way to undo…

Read More Delete Kafka Topic Tutorial

In this tutorial, you will learn what is Spring Cloud Vault, how to install and run HashiCorp’s Vault using three different methods: from HashiCorp website, using Homebrew, or as Docker container. What is Spring Cloud Vault? How do we store secrets safe in a distributed system? Secrets are sensitive information that you don’t want to expose…

Read More Installing and Running HashiCorp’s Vault for Spring Cloud

Environment variables are useful for configuring the behavior of an application without modifying its code. They are often used to store sensitive information such as passwords, API keys, or database credentials. However, passing environment variables to a Docker container can be tricky, especially if you want to keep them secure and avoid exposing them in…

Read More Passing Environment Variables to Docker Container

In this tutorial, you will learn how to return a custom error message if the conditions of the Spring Method Security are not met. To learn more about method-level security annotations read: Spring Method-Level Security with @PreAuthorize, Spring Security @Secured: Method-Level Protection, @PostAuthorize Security Annotation Example. Controller class with Spring Method Security Annotation Let’s assume…

Read More Spring Method Security: Customize Error Message

In this tutorial, I’m going to guide you through the process of zipping and unzipping files in Java. This is a common task in many programming and data management scenarios, and it’s a skill that can be incredibly useful in a variety of contexts. Throughout this tutorial, you’ll learn how to zip a single file,…

Read More Zip and Unzip Files in Java

Project Reactor is an open-source reactive library for building reactive applications in Java. It is part of the broader Reactive Streams initiative and provides an implementation of the Reactive Streams specification. Developed by Pivotal Software, Project Reactor has gained widespread adoption in the Java ecosystem due to its powerful abstractions and ease of use. At…

Read More Introduction to Project Reactor in Java

In the ever-evolving world of software development, responsiveness and efficiency are paramount. Reactive Programming provides a powerful paradigm that allows you to build applications that are highly responsive, scalable, and resilient. In this tutorial, we will delve into the world of Reactive Programming in Java, exploring its key concepts and how it can benefit your…

Read More Introduction to Reactive Streams in Java

In this tutorial, you will learn about Spring Bean Scopes, an important part of the Spring Framework. You will learn what they are, how they work, and when to use them. By the end, you’ll have a clear understanding of Spring Bean Scopes, helping you build better Spring applications. Introduction to Spring Beans In the…

Read More A Guide to Spring Bean Scopes