Apache Kafka Documentation - Consumers, The Apache Software Foundation, 2024 (The Apache Software Foundation) - Official documentation covering Kafka consumer fundamentals, including offsets, consumer groups, and their role in understanding lag.
Kafka: The Definitive Guide: Real-Time Data and Stream Processing at Scale, Neha Narkhede, Gwen Shapira, Todd Palino, 2017 (O'Reilly Media) - A comprehensive guide to Apache Kafka, offering detailed explanations of consumer groups, partitions, offset management, and strategies for monitoring and tuning performance related to consumer lag.
Stream Processing with Apache Flink: Fundamentals, StreamSQL, and Table API, Fabian Hueske, Vasia Kalavri, 2019 (O'Reilly Media) - An authoritative book on Apache Flink, explaining its architecture, state management, checkpointing mechanism, and how these impact real-time data processing and lag analysis in Flink applications.