kafka php接口規則

producer消息體: <REQUEST_SIZE: int> <REQUEST_ID: short> <TOPIC: bytes> <PARTITION: int> <BUFFER_SIZE: int> <BUFFER: bytes> encode messages as <LEN: int><MESSAGE_BYTES>code

<MAGIC_BYTE: 1 byte> <COMPRESSION: 1 byte> <CRC32: 4 bytes bigendian> <PAYLOAD: N bytes>di

相關文章
相關標籤/搜索