Analysis of Kafka Message Loss During Deployment Restarts

A colleague from another team reported that during project releases or restarts (using kill -15), C-end business services often experienced issues leading to financial loss. After hearing about potential money loss, I immediately took responsibility, gathered details, and started investigating. Problem Analysis Based on the descriptoin and my k ...

Posted on Mon, 01 Jun 2026 17:46:42 +0000 by rab

Spring Boot Email Integration with FreeMarker Templates

Integrating email capabilities into a Spring Boot application is straightforward with the spring-boot-starter-mail. Below is a conncise walk-through that covers dependency setup, provider credentials, template engines, and a reusable service layer. Maven Dependencies <parent> <groupId>org.springframework.boot</groupId> ...

Posted on Sat, 30 May 2026 00:39:53 +0000 by bryansu

JWT Authentication Implementation for Login Verification

Understanding JWT Structure JWT (JSON Web Token) is an open standard (RFC 7519) that defines a compact method for securely transmitting information betwean parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs are commonly used for authentication and authorization purposes in web application ...

Posted on Thu, 28 May 2026 18:34:37 +0000 by rishiraj

Simulating and Diagnosing JVM Out-of-Memory Errors in Spring Boot

Reproducing Heap Exhaustion Bootstrap a Spring Boot application and add the web starter dependancy: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> Implement an endpoint that continuously reserves large blocks of memory: import o ...

Posted on Wed, 27 May 2026 22:12:06 +0000 by tomtimms

Cache Consistency Patterns: Implementing Delayed Double Deletion with Spring Boot AOP and Redis

Understanding the Consistency Challenge In high-concurrency environments, siumltaneous database mutations create temporal windows where Redis caches diverge from persistent storage. Consider two concurrent update threads: Thread Alpha: Updates database record → Updates cache entry Thread Beta: Updates database record → Updates cache entry Exe ...

Posted on Tue, 26 May 2026 19:52:39 +0000 by zulubanshee

WeChat Official Account QR Code Payment Integration

Implementing QR code payment functionality within a WeChat Official Account requires proper configuration of merchant credantials including merchant ID, API key, and calllback URLs in the payment platform dashboard. The frontend component displays the generated QR code using HTML: <div id="qrcode-container"></div> <div ...

Posted on Tue, 26 May 2026 17:52:24 +0000 by nafetski

Building an Online Art Gallery System with SSM and Vue.js

Introduction This article details the design and implementation of an online art gallery system, built using the SSM (Spring, Spring MVC, MyBatis) backend framework alongside Vue.js for the frontend. The project includes source code, database scripts, and design documentation. It serves as a comprehensive reference for developers looking to cre ...

Posted on Mon, 25 May 2026 21:35:49 +0000 by Wuhtzu

Hospital Backend Management System Using Spring Boot and Vue

Modern healthcare institutions require efficient, secure, and scalable systems to manage complex administrative workflows. This system addresses critical hospital operations—including patient records, prescriptions, ward assignments, doctor scheduling, medication inventory, and announcements—through a robust full-stack architecture built with S ...

Posted on Sun, 24 May 2026 18:12:47 +0000 by Jimmy_uk

Building a Custom Spring Boot Auto-Configuration Module

Defining the Service Interface and Implementation Create a project with standard configure, service, and impl packages. First, define a core service interface for string processing. // Text processing service contract package com.example.textprocessor.service; import java.util.Collection; public interface TextTokenizer { Collection<Str ...

Posted on Fri, 22 May 2026 16:41:20 +0000 by JeremyMorgan

Spring Boot Persistence with MyBatis

MyBatis is a lightweight SQL-mapping framweork that removes most JDBC boiler-plate while still giving full control over SQL. The following walkthrough shows how to integrate it into a Spring Boot project and perform common CRUD operations. Project bootstrap and data source configuration Create a new Spring Boot project with the spring-boot- ...

Posted on Wed, 20 May 2026 08:09:11 +0000 by AceE