KIP-1247 — Make Bytes utils class part of the public API
Accepted Kafka 4.3 Client
Promotes the Bytes class from org.apache.kafka.common.utils (internal package) to the public Kafka API surface. Bytes is already referenced in public Kafka Streams interfaces (e.g., KeyValueStore<Bytes, byte[]>), meaning users can depend on it through public APIs but cannot import it without using an internal package, creating a usability gap.
Details
| Author | Siddhartha Devineni |
| Status | Accepted |
| Kafka Version | 4.3 |
| JIRA | KAFKA-17939 |
| Wiki | View on Apache Wiki |
| Created | 2025-12-01 |
| Last Modified | 2026-02-24 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.