Skip to main content

consumer_groups

Creates, updates, deletes, gets or lists a consumer_groups resource.

Overview

Nameconsumer_groups
TypeResource
Idconfluent.kafka.consumer_groups

Fields

NameDatatypeDescription
cluster_idstring
consumerobject
consumer_group_idstring
coordinatorobject
is_simpleboolean
kindstring
lag_summaryobject
metadataobject
partition_assignorstring
statestring

Methods

NameAccessible byRequired ParamsDescription
get_kafka_consumer_groupSELECTcluster_id, consumer_group_idGenerally Available Return the consumer group specified by the consumer_group_id.
list_kafka_consumer_groupsSELECTcluster_idGenerally Available Return the list of consumer groups that belong to the specified Kafka cluster.

SELECT examples

Generally Available Return the list of consumer groups that belong to the specified Kafka cluster.

SELECT
cluster_id,
consumer,
consumer_group_id,
coordinator,
is_simple,
kind,
lag_summary,
metadata,
partition_assignor,
state
FROM confluent.kafka.consumer_groups
WHERE cluster_id = '{{ cluster_id }}';