Tag

Message Loss

1 views collected around this technical thread.

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.

BrokerConfigurationConsumer
0 likes · 15 min read
Common Causes of Kafka Message Loss and Mitigation Strategies
Top Architect
Top Architect
Sep 1, 2022 · Backend Development

Ensuring Zero Message Loss in MQ Systems – Interview Guide and Best Practices

This article explains how to guarantee that messages are never lost when using MQ middleware such as Kafka, RabbitMQ or RocketMQ, covering the three lifecycle stages, detection methods, design‑for‑failure principles, idempotent consumption, handling message backlog, and practical interview answers.

KafkaMQMessage Loss
0 likes · 13 min read
Ensuring Zero Message Loss in MQ Systems – Interview Guide and Best Practices
Top Architect
Top Architect
Oct 24, 2021 · Backend Development

Preventing Message Loss in RocketMQ: Scenarios, Solutions, and Trade‑offs

The article analyzes three typical RocketMQ message‑loss scenarios—network glitches during production, incomplete disk persistence, and premature consumer acknowledgments—and presents concrete solutions such as transactional messaging, synchronous flush with replication, and proper consumer‑ack handling, while discussing their performance impact.

Backend ReliabilityJavaMessage Loss
0 likes · 7 min read
Preventing Message Loss in RocketMQ: Scenarios, Solutions, and Trade‑offs
Architecture Digest
Architecture Digest
Mar 14, 2021 · Big Data

Understanding Kafka Message Loss: Causes and Mitigation in Broker, Producer, and Consumer

This article explains why Kafka can lose messages at the broker, producer, and consumer levels, describes the underlying mechanisms such as page cache flushing and acknowledgment settings, and provides practical code examples and mitigation strategies to improve reliability.

AckBrokerConsumer
0 likes · 12 min read
Understanding Kafka Message Loss: Causes and Mitigation in Broker, Producer, and Consumer
Architecture Digest
Architecture Digest
Jun 24, 2020 · Big Data

Preventing Message Loss and Achieving Exactly‑Once Semantics in Kafka

This article explains common scenarios where Kafka messages can be lost on the producer, consumer, or broker side, and provides practical configurations—including callbacks, acks, retries, manual offset commits, idempotent and transactional producers—to ensure reliable delivery and exactly‑once processing.

KafkaMessage LossStreaming
0 likes · 10 min read
Preventing Message Loss and Achieving Exactly‑Once Semantics in Kafka