View Source KafkaEx.Protocol.Kayrock.DescribeGroups.RequestHelpers (kafka_ex v1.0.0-rc.1)
Shared helper functions for building DescribeGroups requests across all versions.
Version differences:
- V0-V2:
groups(array of group IDs) -- all schema-identical - V3-V5: Adds
include_authorized_operationsboolean (KIP-430) - V5: Flexible version (KIP-482) with compact encoding -- Kayrock handles encoding
Summary
Functions
Builds a DescribeGroups request by populating the request template with the groups list. This is shared logic between V0-V2 requests as they have identical structure.
Builds a DescribeGroups V3+ request by populating the request template with groups list
plus include_authorized_operations (KIP-430).
Functions
Builds a DescribeGroups request by populating the request template with the groups list. This is shared logic between V0-V2 requests as they have identical structure.
Options
group_names(required): List of consumer group IDs to describe
Builds a DescribeGroups V3+ request by populating the request template with groups list
plus include_authorized_operations (KIP-430).
V3/V4 add include_authorized_operations: :boolean. V5 is the flexible version (KIP-482)
with the same logical fields -- Kayrock handles compact encoding.
Options
group_names(required): List of consumer group IDs to describeinclude_authorized_operations(optional): Whether to include authorized operations (defaults to false)