Java Captain
Author

Java Captain

Focused on Java technologies: SSM, the Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading; occasionally covers DevOps tools like Jenkins, Nexus, Docker, ELK; shares practical tech insights and is dedicated to full‑stack Java development.

1.2k
Articles
0
Likes
2.9k
Views
0
Comments
Recent Articles

Latest from Java Captain

100 recent articles max
Java Captain
Java Captain
May 28, 2025 · Fundamentals

Introduction to ZooKeeper: Design Goals, Data Model, Sessions, Watches, Consistency Guarantees, Leader Election, and Deployment

This article provides a comprehensive overview of ZooKeeper, covering its purpose as a distributed coordination service, design objectives such as consistency and reliability, hierarchical data model, session and watch mechanisms, consistency guarantees, leader election and Zab protocol, as well as practical deployment details.

ConsensusDistributed CoordinationZAB Protocol
0 likes · 20 min read
Introduction to ZooKeeper: Design Goals, Data Model, Sessions, Watches, Consistency Guarantees, Leader Election, and Deployment
Java Captain
Java Captain
May 28, 2025 · Information Security

WeChat Account Unblocking Guide: Self-Service and Manual Appeal Procedures (2025 Update)

This comprehensive guide explains the 2025 WeChat account unblocking process, covering identification of restriction types, required evidence, self‑service five‑step recovery, advanced manual appeal tactics, common issues, and post‑unblock security measures to help users restore access efficiently.

account recoverymanual appealself-service
0 likes · 10 min read
WeChat Account Unblocking Guide: Self-Service and Manual Appeal Procedures (2025 Update)
Java Captain
Java Captain
May 23, 2025 · Backend Development

Resolving Spring Boot Resource Loading Errors When Running from a JAR

This article explains why a Spring Boot application fails to locate a template file when packaged as a JAR, details the step‑by‑step debugging process, and provides code solutions using ClassPathResource or PathMatchingResourcePatternResolver to correctly read resources inside the JAR.

DebuggingJARJava
0 likes · 5 min read
Resolving Spring Boot Resource Loading Errors When Running from a JAR
Java Captain
Java Captain
May 23, 2025 · Backend Development

CompressUtil Java Utility for File Compression and Download

This article introduces a Java utility class named CompressUtil that provides methods for compressing files and directories into ZIP archives, handling duplicate filenames, creating new files safely, and offering HTTP endpoints for downloading the generated ZIP files in a single request.

File CompressionServletutility
0 likes · 10 min read
CompressUtil Java Utility for File Compression and Download
Java Captain
Java Captain
May 23, 2025 · Backend Development

Common Causes of Kafka Message Loss and Mitigation Strategies

This article examines the typical reasons Kafka messages are lost across producers, brokers, and consumers, and provides detailed configuration recommendations and best‑practice solutions to significantly reduce the risk of data loss in distributed streaming systems.

BrokerConsumerKafka
0 likes · 15 min read
Common Causes of Kafka Message Loss and Mitigation Strategies
Java Captain
Java Captain
May 21, 2025 · Backend Development

Graceful Shutdown of Spring Boot Applications Using JVM Signals and Actuator

The article explains how to achieve graceful shutdown of Spring Boot services by handling Linux kill signals, registering JVM shutdown hooks, and exposing an Actuator REST endpoint that safely releases resources, stops beans, and terminates the JVM without data loss.

ActuatorGraceful ShutdownJVM
0 likes · 11 min read
Graceful Shutdown of Spring Boot Applications Using JVM Signals and Actuator