pub struct JoinGroupRequest {
    pub group_id: GroupId,
    pub session_timeout_ms: i32,
    pub rebalance_timeout_ms: i32,
    pub member_id: StrBytes,
    pub group_instance_id: Option<StrBytes>,
    pub protocol_type: StrBytes,
    pub protocols: IndexMap<StrBytes, JoinGroupRequestProtocol>,
    pub reason: Option<StrBytes>,
    pub unknown_tagged_fields: BTreeMap<i32, Vec<u8>>,
}
Expand description

Valid versions: 0-9

Fields

group_id: GroupId

The group identifier.

Supported API versions: 0-9

session_timeout_ms: i32

The coordinator considers the consumer dead if it receives no heartbeat after this timeout in milliseconds.

Supported API versions: 0-9

rebalance_timeout_ms: i32

The maximum time in milliseconds that the coordinator will wait for each member to rejoin when rebalancing the group.

Supported API versions: 1-9

member_id: StrBytes

The member id assigned by the group coordinator.

Supported API versions: 0-9

group_instance_id: Option<StrBytes>

The unique identifier of the consumer instance provided by end user.

Supported API versions: 5-9

protocol_type: StrBytes

The unique name the for class of protocols implemented by the group we want to join.

Supported API versions: 0-9

protocols: IndexMap<StrBytes, JoinGroupRequestProtocol>

The list of protocols that the member supports.

Supported API versions: 0-9

reason: Option<StrBytes>

The reason why the member (re-)joins the group.

Supported API versions: 8-9

unknown_tagged_fields: BTreeMap<i32, Vec<u8>>

Other tagged fields

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Decode the message from the provided buffer and version.

Returns the “default value” for a type. Read more

Encode the message into the target buffer.

Compute the total size of the message when encoded.

Maps a header version to a given version for a particular API message.

The valid versions for this message.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The API key of this request.

The response associated with this request.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.