If you want to understand the architecture, I think you probably want to start with reading a book like "Kafka: The Definitive Guide."
If you understand the architecture, you can learn the source code with time. I would suggest always reading the newest source code, since that is what people will be deploying in the next few years. best, Colin On Fri, Nov 1, 2024, at 21:58, Xiang Zhang wrote: > 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 version(s) is the most proper version to go to if I want to get > the core design and implementation of Kafka so that it won’t be too old and > not too new either. > 2. If I am trying to read source code, which subprojects(folders) should I > cover so that they make up the backbone of Kafka and in what order. > 3. Is there any other material that I can reference to before and during > jumping into source code ? > 4. Last but not least, is there any Kafka committer or contributor who can > share their get-started experience as all the email threads seem organized > yet a little overwhelmed? > > I hope all this makes sense, any advice will be appreciated. > > Regards, > Xiang