KIP-1320 — Deprecate heavily used internal APIs
Discussion Client
Defines a staged deprecation process for classes Kafka maintainers confirm are internal yet widely imported externally, adding a compiler deprecation warning and a stated removal release, starting with `org.apache.kafka.common.utils.Utils`. KIP-1265's `@InterfaceAudience` annotation and checker mark such classes Private but produce no javac warning and no removal schedule, and cannot distinguish a genuinely internal helper from one accidentally missing a Public annotation.
Protocol Impact
Produce · Fetch · ListOffsets · Metadata · OffsetCommit · OffsetFetch · FindCoordinator · JoinGroup · LeaveGroup · ApiVersions · CreateTopics · OffsetForLeaderEpoch · CreatePartitions
Details
| Author | Eric Chang |
| Status | Discussion |
| JIRA | KAFKA-20411 |
| Wiki | View on Apache Wiki |
| Created | 2026-04-15 |
| Last Modified | 2026-07-23 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.