jackyfkc.github.io

教土豆学计算机

Protocol

The Kafka protocol is fairly simple, there are only 6 core client requests APIs.

Kafka uses a binary protocol over TCP. The protocol defines all apis as request response message pairs. All messages are size delimited and are made up of the following primitive types.

APIs

基于 KafkaApis.scala, v0.11.0.0

Most Common APIs

Offset Management

Consumer Group Management

Further Readings