...
Current state: Under Discussion
Discussion thread: here [Change the link from the KIP proposal email archive to your own email thread]
...
More concretely, benchmarking a MetadataResponse
(just the body, excluding the header) containing a single 100 partition topic replicated across two brokers suggests that:
Encoding | Size/byte | Struct Serialize/µs | Struct Deserialize/µs | Buffer Serialize/µs | Buffer Deserialize/µs |
---|---|---|---|---|---|
fixed | 3216 | 56,458 | 14,416 | 7,215 | 11,508 |
variable (best case) | 1170 | 65,226 | 14,713 | 7,667 | 10,155 |
variable (worst case) | 4026 | 81,328 | 14,755 | 21,400 | 17,681 |
The worst case would occur if the cluster had brokers with ids greater than 134,217,727, and for topics with more than that many partitions and where the error code was >255.
...