You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jeyhun Karimov (JIRA)" <ji...@apache.org> on 2016/07/06 09:13:10 UTC

[jira] [Assigned] (KAFKA-3856) Move inner classes accessible only functions in TopologyBuilder out of public APIs

     [ https://issues.apache.org/jira/browse/KAFKA-3856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeyhun Karimov reassigned KAFKA-3856:
-------------------------------------

    Assignee: Jeyhun Karimov

> Move inner classes accessible only functions in TopologyBuilder out of public APIs
> ----------------------------------------------------------------------------------
>
>                 Key: KAFKA-3856
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3856
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Guozhang Wang
>            Assignee: Jeyhun Karimov
>              Labels: api
>
> In {{TopologyBuilder}} there are a couple of public functions that are actually only used in the internal classes such as StreamThread and StreamPartitionAssignor, and some accessible only in high-level DSL inner classes, examples include {{addInternalTopic}}, {{sourceGroups}} and {{copartitionGroups}}, etc. But they are still listed in Javadocs since this class is part of public APIs.
> We should think about moving them out of the public functions. Unfortunately there is no "friend" access mode as in C++, so we need to think of another way.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)