Hi Team,
I want obtain consumer group information through the Kafka JAVA API ,As shown
in figure
Properties properties = new Properties();
properties.put(CommonClientConfigs.BOOTSTRAP_SERVERS_CONFIG,
"10.127.16.2:9092");
try {
String groupId = "gwdp-hdb-cq-t1";
adminClient = AdminClient.create(properties);
DescribeConsumerGroupsResult describeConsumerGroupsResult =
adminClient.describeConsumerGroups(Arrays.asList(groupId));
Map<String, KafkaFuture<ConsumerGroupDescription>> map =
describeConsumerGroupsResult.describedGroups();
The ConsumerGroupDescription object does not get the information. how to get it
?many thanks in advance