...
Code Block |
---|
v0 FetchResponse => [TopicName [Partition ErrorCode HighwaterMarkOffset MessageSetSize MessageSet]] TopicName => string Partition => int32 ErrorCode => int16 HighwaterMarkOffset => int64 MessageSetSize => int32 v1 (supported in 0.9.0 or later) and v2 (supported in 0.10.0 or later) FetchResponse => ThrottleTime [TopicName [Partition ErrorCode HighwaterMarkOffset MessageSetSize MessageSet]] ThrottleTime => int32 TopicName => string Partition => int32 ErrorCode => int16 HighwaterMarkOffset => int64 MessageSetSize => int32 ThrottleTime => int32 |
Field | Description | |||
---|---|---|---|---|
ThrottleTime | Duration in milliseconds for which the request was throttled due to quota violation. (Zero if the request did not violate any quota.) | |||
TopicName | The name of the topic this response entry is for. | |||
Partition | The id of the partition this response is for. | |||
HighwaterMarkOffset | The offset at the end of the log for this partition. This can be used by the client to determine how many messages behind the end of the log they are. | |||
MessageSetSize | The size in bytes of the message set for this partition | |||
MessageSet | The message data fetched from this partition, in the format described above. | ThrottleTime | Duration in milliseconds for which the request was throttled due to quota violation. | (Zero if the request did not violate any quota.)
Fetch Response v1 only contains message format v0.
...