Re: doc clarification about meesage format

2024-10-25 Thread Xiang Zhang
I think there is an intentional use for this historical leadership data in the log [1]. [1] https://cwiki.apache.org/confluence/display/KAFKA/KIP-101+-+Alter+Replication+Protocol+to+use+Leader+Epoch+rather+than+High+Watermark+for+Truncation Thanks, Greg On Wed, Oct 23, 2024 at 8:07 PM Xiang Zhang

SLF4J error when running Kafka in IDEA

2024-10-25 Thread Xiang Zhang
setup or this can be fixed or avoided out of the box. I would love your thoughts on this. Thanks ! Xiang Zhang xiangzhang1...@gmail.com

Advice on how to comprehend Kafka source code

2024-11-01 Thread Xiang Zhang
Hi community, After being a Kafka user for several years, I want to know Kafka better maybe on a code level. I am wondering if anyone can give me any advice. To be more specific, I am thinking about the following things. 0. Is reading source code the best way to learn more about Kafka ? 1. Which

Re: doc clarification about meesage format

2024-10-23 Thread Xiang Zhang
130f121e75ccba2d913bdffa358cf3867/clients/src/main/java/org/apache/kafka/common/record/DefaultRecordBatch.java#L385-L387 > > > On Tue, Oct 22, 2024 at 7:51 PM Xiang Zhang > wrote: > > > Hi all, > > > > I am reading official doc here: > > https://kafka.apache.org/documentatio