Skip to content

Add topic/partition assignment data to consumer group members #3301

@shouples

Description

@shouples

The ConsumerAssignmentData client model already provides topic_name and partition_id per consumer, but neither the Consumer model nor any loader utility currently fetches or stores this data.

export interface ConsumerAssignmentData {
/**
*
* @type {string}
* @memberof ConsumerAssignmentData
*/
kind: string;
/**
*
* @type {ResourceMetadata}
* @memberof ConsumerAssignmentData
*/
metadata: ResourceMetadata;
/**
*
* @type {string}
* @memberof ConsumerAssignmentData
*/
cluster_id: string;
/**
*
* @type {string}
* @memberof ConsumerAssignmentData
*/
consumer_group_id: string;
/**
*
* @type {string}
* @memberof ConsumerAssignmentData
*/
consumer_id: string;
/**
*
* @type {string}
* @memberof ConsumerAssignmentData
*/
topic_name: string;
/**
*
* @type {number}
* @memberof ConsumerAssignmentData
*/
partition_id: number;
/**
*
* @type {Relationship}
* @memberof ConsumerAssignmentData
*/
partition: Relationship;
/**
*
* @type {Relationship}
* @memberof ConsumerAssignmentData
*/
lag: Relationship;
}

Will need:

We'll need to figure out when to load this data, since it could be helpful when seeing the topics for a given Kafka cluster, but only loading it in certain scenarios (e.g. expanding a single ConsumerGroup) may require too much manual clicking by the user.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions