You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2018/06/26 11:54:00 UTC

[jira] [Commented] (KAFKA-6211) PartitionAssignmentState is protected whereas KafkaConsumerGroupService.describeGroup() returns PartitionAssignmentState Object

    [ https://issues.apache.org/jira/browse/KAFKA-6211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16523616#comment-16523616 ] 

Manikumar commented on KAFKA-6211:
----------------------------------

ConsumerGroupCommand internal classes/methods are not public API. You encouraged to use kafka AdminClient consumer group management methods.

> PartitionAssignmentState is protected whereas KafkaConsumerGroupService.describeGroup() returns PartitionAssignmentState Object
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-6211
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6211
>             Project: Kafka
>          Issue Type: Bug
>          Components: admin
>    Affects Versions: 0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.11.0.0, 0.11.0.1, 1.0.0
>            Reporter: Subhransu Acharya
>            Priority: Critical
>              Labels: patch
>         Attachments: a.png
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
>  KafkaConsumerGroupService.describeGroup() is returning Tuple2<Option<String>, Option<Seq<PartitionAssignmentState>>> but ConsumerGroupCommand has PartitionAssignmentState as a protected class inside it.
> There is no way to create an instance of PartitionAssignmentState.
> make it default in order to use the describe command.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)