Skip to main content

member_target_assignment_task_partitions

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

Overview

Namemember_target_assignment_task_partitions
TypeResource
Idconfluent.streams_group.member_target_assignment_task_partitions

Fields

The following fields are returned by SELECT queries:

The partitions of a streams member task.

NameDatatypeDescription
subtopology_idstringThe unique identifier of the Streams subtopology.
kindstring
metadataobject
partition_idsarrayThe list of partition IDs assigned to the Streams task.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_kafka_streams_group_member_target_assignment_task_partitionsselectcluster_id, group_id, member_id, assignments_type, subtopology_idReturn the tasks of the member specified by the member_id, and the type assignments_type.

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
assignments_typestringThe streams member Assignment type. (example: active)
cluster_idstringThe Kafka cluster ID. (example: cluster-1)
group_idstringThe group ID. (example: group-1)
member_idstringThe streams member ID. (example: member-1)
subtopology_idstringThe streams subtopology ID. (example: subtopology-1)

SELECT examples

Return the tasks of the member specified by the member_id, and the type assignments_type.

SELECT
subtopology_id,
kind,
metadata,
partition_ids
FROM confluent.streams_group.member_target_assignment_task_partitions
WHERE cluster_id = '{{ cluster_id }}' -- required
AND group_id = '{{ group_id }}' -- required
AND member_id = '{{ member_id }}' -- required
AND assignments_type = '{{ assignments_type }}' -- required
AND subtopology_id = '{{ subtopology_id }}' -- required
;