Alibaba cloud's technical leader first push: Kafka master from source code to actual combat

Java architects Alliance 2020-11-08 20:13:32
alibaba cloud technical leader push


2011 At the beginning of year , LinkedIn, USA (LinkedIn) Open source an infrastructure software , Take Franz, the Austrian writer · kafka (Franz Kafka) Name of , after LinkedIn Contribute it to Apache The foundation , The software was then used in 2012 year 10 Successful completion of incubation and promotion to Apache Top projects —— This is the famous ApacheKafka. after 7 Year development ,2017 year 11 month ,Apache Kafka Officially evolved to 1.0 Time , This book is based on 1.0.0 Version to introduce Kafka Design principle and actual combat .

With the rapid development of big data era ,Kafka with Its high throughput and low latency 、 High pressure contraction 、 persistence 、 reliability 、 Fault tolerance and high concurrency The advantages of , It's solved “ Accurate collection and analysis of huge data ” The problem of , It is also favored by many large factories and engineers ,

But most people , In the process of study and interview, I found that I didn't fully grasp the meaning of it , Still have a little knowledge of common problems , this The main problem is that there are problems in the process of reading the source code

(1) Too many source files , I don't know the point ;

(2) Too much source code , Countless times from the beginning to giving up ;

(3) Wrong way , encounter “ Technicality ” The code is covered ;

(4) Not systematic enough , Will not classify the source file to read .

Let's introduce a copy of kafka Source code analysis notes .

The source code parsing

Due to the space limitation of this book , There is no detailed introduction to Kafka All the basic knowledge involved in the source code , for example Java NIO、JUC The use of tool classes in packages 、 The use of command line parameter parser, etc , For the convenience of readers , The author only introduces some necessary and important basic knowledge . Before we start source analysis , We hope that the readers can follow the following rules 1 The introduction of chapter is completed Kafka The construction of source code environment , And understand Kafka Core concept of , This can also have better learning effect .

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

The book consists of five chapters , They don't have a strong connection with each other , Readers can read from scratch , You can also choose the chapters you are interested in .

The first 1 Chapter is Kafka A quick start to , It introduces Kafka The background of 、 Features and application scenarios . After that, the author introduces a new method in practice Kafka The central case , And analyzes the choice of using in this case Kafka The specific reasons and Kafka Play a key role in . Finally, it introduces Kafka The core concepts and Kafka Source . Construction of code debugging environment .

The first 2 The design features and implementation details of producer client are introduced , Dissected KafkaProducer Intercept messages 、 Serialize message 、 Routing message and other functions of the source code implementation , It introduces RecordAccumulator The structure and implementation of . At last, it analyzes KafkaProducer in Sender Source code of thread .

The first 3 Describes the Kafka It also gives some practical suggestions , It also introduces ConsumerGroup Rebalance The principles of the various versions and their operation . Finally, it analyzes in detail KafkaConsumer Operation principle and implementation details of related components .

The first 4 Chapter introduces the composition of Kafka The components on the server side , In order to analyze Kafka The network layer 、API layer 、 The logging stored 、DelayedOperationPurgatory Components 、Kafka Copy mechanism of 、KafkaController、 GroupCoordinator 、Kafka Identity authentication and authority control as well as Kafka Monitoring related implementations . This chapter is Kafka The core content , It involves more design details and programming skills , I hope the readers can get something after reading .

The first 5 Describes the Kafka Provides the use of a number of scripting tools and the specific implementation principle , Understanding these scripts can help managers quickly complete some common management 、 Operation and maintenance 、 Testing capabilities .

Catalog

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

Show in detail

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

kafka actual combat

This book covers Apache Kafka Reference books and reference books with practical guiding significance . The author combines typical usage scenarios , Yes Kafka The whole technical system is explained in a more comprehensive way , So that readers can draw inferences from one instance , Apply it directly to practice . meanwhile , This book is also about Kafka In this paper, the design principle and flow processing component of the system are discussed , And give a detailed case .

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

This book is divided into 10 Chapter : The first 1 Zhang introduces the message engine system and Kaka The basic concepts and characteristics of , Quickly lead readers into Kafka The world of ; The first 2 Chapter gives a brief review of Apache Kafka The history of development ; The first 3 Chapter details Kafka The construction of cluster environment ; The first 4、5 Chapter discusses in depth Kalka How to use the client ; The first 6 Chapter takes the reader through Kaka Interior design principles ; The first 7-9 Chapter explains by example Kalka Cluster management 、 Monitoring and tuning ; The first 10 Describes the Kafka The newly introduced streaming component .

Adapt to the crowd

This book is suitable for all cloud computing 、 Big data processing technology personnel interested in reading , Especially suitable for message engine 、 Stream processing technology and framework for technical personnel interested in reading .

 

Kafka Online environment deployment

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

producer Development \consumer Development

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

Kafka Design principle 、 management Kafka colony 、 monitor Kafka colony 、 tuning Kafka colony

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

Kafka Connect And Kafka Streams

 The person in charge of alicloud technology first launched :kafka From the source code to the actual combat to master

 

You need these two kafka Learning documents , Official account :Java Architects Alliance , The background to reply Java You can see how to get it

版权声明
本文为[Java architects Alliance]所创,转载请带上原文链接,感谢

  1. 【计算机网络 12(1),尚学堂马士兵Java视频教程
  2. 【程序猿历程,史上最全的Java面试题集锦在这里
  3. 【程序猿历程(1),Javaweb视频教程百度云
  4. Notes on MySQL 45 lectures (1-7)
  5. [computer network 12 (1), Shang Xuetang Ma soldier java video tutorial
  6. The most complete collection of Java interview questions in history is here
  7. [process of program ape (1), JavaWeb video tutorial, baidu cloud
  8. Notes on MySQL 45 lectures (1-7)
  9. 精进 Spring Boot 03:Spring Boot 的配置文件和配置管理,以及用三种方式读取配置文件
  10. Refined spring boot 03: spring boot configuration files and configuration management, and reading configuration files in three ways
  11. 精进 Spring Boot 03:Spring Boot 的配置文件和配置管理,以及用三种方式读取配置文件
  12. Refined spring boot 03: spring boot configuration files and configuration management, and reading configuration files in three ways
  13. 【递归,Java传智播客笔记
  14. [recursion, Java intelligence podcast notes
  15. [adhere to painting for 386 days] the beginning of spring of 24 solar terms
  16. K8S系列第八篇(Service、EndPoints以及高可用kubeadm部署)
  17. K8s Series Part 8 (service, endpoints and high availability kubeadm deployment)
  18. 【重识 HTML (3),350道Java面试真题分享
  19. 【重识 HTML (2),Java并发编程必会的多线程你竟然还不会
  20. 【重识 HTML (1),二本Java小菜鸟4面字节跳动被秒成渣渣
  21. [re recognize HTML (3) and share 350 real Java interview questions
  22. [re recognize HTML (2). Multithreading is a must for Java Concurrent Programming. How dare you not
  23. [re recognize HTML (1), two Java rookies' 4-sided bytes beat and become slag in seconds
  24. 造轮子系列之RPC 1:如何从零开始开发RPC框架
  25. RPC 1: how to develop RPC framework from scratch
  26. 造轮子系列之RPC 1:如何从零开始开发RPC框架
  27. RPC 1: how to develop RPC framework from scratch
  28. 一次性捋清楚吧,对乱糟糟的,Spring事务扩展机制
  29. 一文彻底弄懂如何选择抽象类还是接口,连续四年百度Java岗必问面试题
  30. Redis常用命令
  31. 一双拖鞋引发的血案,狂神说Java系列笔记
  32. 一、mysql基础安装
  33. 一位程序员的独白:尽管我一生坎坷,Java框架面试基础
  34. Clear it all at once. For the messy, spring transaction extension mechanism
  35. A thorough understanding of how to choose abstract classes or interfaces, baidu Java post must ask interview questions for four consecutive years
  36. Redis common commands
  37. A pair of slippers triggered the murder, crazy God said java series notes
  38. 1、 MySQL basic installation
  39. Monologue of a programmer: despite my ups and downs in my life, Java framework is the foundation of interview
  40. 【大厂面试】三面三问Spring循环依赖,请一定要把这篇看完(建议收藏)
  41. 一线互联网企业中,springboot入门项目
  42. 一篇文带你入门SSM框架Spring开发,帮你快速拿Offer
  43. 【面试资料】Java全集、微服务、大数据、数据结构与算法、机器学习知识最全总结,283页pdf
  44. 【leetcode刷题】24.数组中重复的数字——Java版
  45. 【leetcode刷题】23.对称二叉树——Java版
  46. 【leetcode刷题】22.二叉树的中序遍历——Java版
  47. 【leetcode刷题】21.三数之和——Java版
  48. 【leetcode刷题】20.最长回文子串——Java版
  49. 【leetcode刷题】19.回文链表——Java版
  50. 【leetcode刷题】18.反转链表——Java版
  51. 【leetcode刷题】17.相交链表——Java&python版
  52. 【leetcode刷题】16.环形链表——Java版
  53. 【leetcode刷题】15.汉明距离——Java版
  54. 【leetcode刷题】14.找到所有数组中消失的数字——Java版
  55. 【leetcode刷题】13.比特位计数——Java版
  56. oracle控制用户权限命令
  57. 三年Java开发,继阿里,鲁班二期Java架构师
  58. Oracle必须要启动的服务
  59. 万字长文!深入剖析HashMap,Java基础笔试题大全带答案
  60. 一问Kafka就心慌?我却凭着这份,图灵学院vip课程百度云