Package org.apache.kafka.clients.admin
Class DescribeConsumerGroupsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.DescribeConsumerGroupsResult
-
@Evolving public class DescribeConsumerGroupsResult extends java.lang.Object
The result of theKafkaAdminClient.describeConsumerGroups(Collection, DescribeConsumerGroupsOptions)
} call. The API of this class is evolving, seeAdmin
for details.
-
-
Constructor Summary
Constructors Constructor Description DescribeConsumerGroupsResult(java.util.Map<java.lang.String,KafkaFuture<ConsumerGroupDescription>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<java.util.Map<java.lang.String,ConsumerGroupDescription>>
all()
Return a future which yields all ConsumerGroupDescription objects, if all the describes succeed.java.util.Map<java.lang.String,KafkaFuture<ConsumerGroupDescription>>
describedGroups()
Return a map from group id to futures which yield group descriptions.
-
-
-
Constructor Detail
-
DescribeConsumerGroupsResult
public DescribeConsumerGroupsResult(java.util.Map<java.lang.String,KafkaFuture<ConsumerGroupDescription>> futures)
-
-
Method Detail
-
describedGroups
public java.util.Map<java.lang.String,KafkaFuture<ConsumerGroupDescription>> describedGroups()
Return a map from group id to futures which yield group descriptions.
-
all
public KafkaFuture<java.util.Map<java.lang.String,ConsumerGroupDescription>> all()
Return a future which yields all ConsumerGroupDescription objects, if all the describes succeed.
-
-