Skip to main content

consumers

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

Overview

Nameconsumers
TypeResource
Idconfluent.kafka.consumers

Fields

NameDatatypeDescription
assignmentsobject
client_idstring
cluster_idstring
consumer_group_idstring
consumer_idstring
instance_idstring
kindstring
metadataobject

Methods

NameAccessible byRequired ParamsDescription
get_kafka_consumerSELECTcluster_id, consumer_group_id, consumer_idGenerally Available Return the consumer specified by the consumer_id.
list_kafka_consumersSELECTcluster_id, consumer_group_idGenerally Available Return a list of consumers that belong to the specified consumer group.

SELECT examples

Generally Available Return a list of consumers that belong to the specified consumer group.

SELECT
assignments,
client_id,
cluster_id,
consumer_group_id,
consumer_id,
instance_id,
kind,
metadata
FROM confluent.kafka.consumers
WHERE cluster_id = '{{ cluster_id }}'
AND consumer_group_id = '{{ consumer_group_id }}';