KIP-824 — Allowing dumping segmentlogs limiting the batches in the output
Accepted Kafka 3.3 AdminBroker
Adds a `--max-batches` flag to `kafka-dump-log.sh` to limit the number of record batches printed when dumping segment logs. Without this, operators have no visibility into producer batching behavior in near-real-time without drowning in unbounded output, making it impossible to detect poor batching or compression configurations at scale.
Details
| Author | Sergio Troiano |
| Status | Accepted |
| Kafka Version | 3.3 |
| JIRA | KAFKA-13687 |
| Wiki | View on Apache Wiki |
| Created | 2022-03-03 |
| Last Modified | 2022-04-04 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.