Skip to main content

streams_groups

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

Overview

Namestreams_groups
TypeResource
Idconfluent.streams_group.streams_groups

Fields

The following fields are returned by SELECT queries:

The streams group.

NameDatatypeDescription
cluster_idstringThe unique identifier of the Kafka cluster.
group_idstringThe unique identifier of the Streams group.
group_epochintegerThe epoch of the Streams group.
kindstring
member_countintegerThe number of members in the Streams group.
membersobject
metadataobject
statestringThe state of the Streams group.
subtopologiesobject
subtopology_countintegerThe number of subtopologies in the Streams group.
target_assignment_epochintegerThe epoch of the target assignment.
topology_epochintegerThe epoch of the Streams topology.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_kafka_streams_groupselectcluster_id, group_idReturn the streams group specified by the group_id.
list_kafka_streams_groupsselectcluster_idReturn the list of streams groups that belong to the specified Kafka cluster

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cluster_idstringThe Kafka cluster ID. (example: cluster-1)
group_idstringThe group ID. (example: group-1)

SELECT examples

Return the streams group specified by the group_id.

SELECT
cluster_id,
group_id,
group_epoch,
kind,
member_count,
members,
metadata,
state,
subtopologies,
subtopology_count,
target_assignment_epoch,
topology_epoch
FROM confluent.streams_group.streams_groups
WHERE cluster_id = '{{ cluster_id }}' -- required
AND group_id = '{{ group_id }}' -- required
;