Package org.apache.kafka.clients.admin
Class DescribeConsumerGroupsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.DescribeConsumerGroupsResult
-
@Evolving public class DescribeConsumerGroupsResult extends 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(Map<String,KafkaFuture<ConsumerGroupDescription>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<Map<String,ConsumerGroupDescription>>
all()
Return a future which yields all ConsumerGroupDescription objects, if all the describes succeed.Map<String,KafkaFuture<ConsumerGroupDescription>>
describedGroups()
Return a map from group id to futures which yield group descriptions.
-
-
-
Constructor Detail
-
DescribeConsumerGroupsResult
public DescribeConsumerGroupsResult(Map<String,KafkaFuture<ConsumerGroupDescription>> futures)
-
-
Method Detail
-
describedGroups
public Map<String,KafkaFuture<ConsumerGroupDescription>> describedGroups()
Return a map from group id to futures which yield group descriptions.
-
all
public KafkaFuture<Map<String,ConsumerGroupDescription>> all()
Return a future which yields all ConsumerGroupDescription objects, if all the describes succeed.
-
-