You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Andrew Schofield (Jira)" <ji...@apache.org> on 2026/10/29 10:17:00 UTC
[jira] [Commented] (KAFKA-21368) Missing InterfaceAudience.Public annotations
[ https://issues.apache.org/jira/browse/KAFKA-21368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18134138#comment-18134138 ]
Andrew Schofield commented on KAFKA-21368:
------------------------------------------
It was intentional to omit this package from the public interfaces. In reality, promoting a handful of string constants into the public classes such as `o.a.k.clients.producer.ProducerConfig` removes the need for user access to this internal class. That's the most sensible solution to this issue.
> Missing InterfaceAudience.Public annotations
> --------------------------------------------
>
> Key: KAFKA-21368
> URL: https://issues.apache.org/jira/browse/KAFKA-21368
> Project: Kafka
> Issue Type: Improvement
> Affects Versions: 4.4.0
> Reporter: Andrew Schofield
> Assignee: Andrew Schofield
> Priority: Minor
>
> KIP-1265 introduced @InterfaceAudience annotations for properly marking public interfaces. o.a.k.clients.CommonClientConfigs appears to have been missed. We should check for others too.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)