AppsFlyer Engineering
Read post

When keeping data perfect isn’t perfect: prioritizing availability in Apache Kafka

This post discusses the trade-offs between prioritizing data availability over durability in Apache Kafka, illustrating how unclean leader election can help reduce service downtime at the cost of potential data loss. It provides insights into mitigating data loss by configuring replication factors, selecting appropriate replication strategies, and understanding the balance between preserving data and ensuring service continuity. Key considerations for Kafka configuration and the process of estimating data loss are also highlighted.

    #distributed-systems#apache-kafka#data-streaming
Feb 25, 2025•10m read time•From medium.com
Post cover image
Table of contents
When keeping data perfect isn’t perfect: prioritizing availability in Apache KafkaWhy does data loss happen?Preventing offline partitions in KafkaKafka’s unclean leader electionThe Achilles HeelAvailability vs. durabilityEstimating data loss (after the fact)Is durability all that matters?
23 Impressions
AppsFlyer Engineering's image
AppsFlyer Engineering

AppsFlyer's platform is dedicated to providing insights and resources for mobile app developers and...

1 Followers

•

6 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard