Tagged articles

idempotent producer

7 articles · Page 1 of 1
Programmer XiaoFu
Programmer XiaoFu
Jun 23, 2026 · Backend Development

Why Kafka Still Delivers Out‑of‑Order Messages Even When Using the Same Key

Even though Kafka guarantees that messages with the same key land in the same partition, the article explains how producer retries, multithreaded consumer processing, and partition expansion can break ordering, and provides concrete techniques such as idempotent producers and single‑threaded consumption to preserve order.

Consumer ConcurrencyKafkaMessage Ordering
0 likes · 10 min read
Why Kafka Still Delivers Out‑of‑Order Messages Even When Using the Same Key
Linyb Geek Road
Linyb Geek Road
Jun 14, 2026 · Big Data

How to Solve Data Ordering Issues in Apache Kafka

This article explains how Kafka maintains order within partitions using keys and offsets, why ordering across partitions can break, and how to preserve strict sequencing through producer configuration, idempotent producers, and exactly‑once transactional processing.

Exactly-onceKafkadata ordering
0 likes · 9 min read
How to Solve Data Ordering Issues in Apache Kafka
Programmer XiaoFu
Programmer XiaoFu
Jul 24, 2024 · Backend Development

Root‑Cause Solutions for Kafka Message Duplicates

The article analyzes why Kafka messages are duplicated on both producer and consumer sides, explains at‑most‑once, at‑least‑once, and exactly‑once delivery semantics, and walks through three concrete remedies—idempotent producers, transactions, and consumer‑side deduplication—backed by configuration details, code samples, and practical deployment steps.

Consumer IdempotencyKafkaMessage Duplication
0 likes · 12 min read
Root‑Cause Solutions for Kafka Message Duplicates
Efficient Ops
Efficient Ops
Aug 3, 2020 · Backend Development

Mastering Kafka Producer API: Tips, Configurations, and Common Pitfalls

This article provides a comprehensive guide to Kafka's producer API, covering core concepts, client‑side workflow, essential configurations, idempotent and transactional producers, and practical Java code examples to help developers avoid common pitfalls and optimize message publishing.

JavaKafkaProducer API
0 likes · 21 min read
Mastering Kafka Producer API: Tips, Configurations, and Common Pitfalls
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 13, 2020 · Backend Development

Kafka Idempotent and Transactional Messaging Overview

This article explains how Kafka implements idempotent producers and transactional messaging to achieve exactly‑once semantics, detailing the producer session identifiers, sequence numbers, broker checks, two‑phase commit workflow, consumer isolation levels, and the limitations of atomic reads.

KafkaTransactional Messagingidempotent producer
0 likes · 9 min read
Kafka Idempotent and Transactional Messaging Overview