View Source KafkaEx.Protocol.Kayrock.LeaveGroup.Request protocol (kafka_ex v1.0.0-rc.1)

This protocol is used to build LeaveGroup requests.

V0-V2 Options

  • group_id (required): The consumer group ID
  • member_id (required): The member ID

V3-V4 Options (STRUCTURAL CHANGE -- batch leave)

  • group_id (required): The consumer group ID
  • members (required): List of member maps, each with :member_id and optionally :group_instance_id

All known versions (V0-V4) have explicit implementations. The Any fallback handles unknown future versions.

Summary

Types

t()

All the types that implement this protocol.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

build_request(request, opts)

View Source
@spec build_request(t(), Keyword.t()) :: t()