pub struct JoinGroupRequestBuilder { /* private fields */ }
Expand description
Builder for JoinGroupRequest
.
Implementations§
source§impl JoinGroupRequestBuilder
impl JoinGroupRequestBuilder
sourcepub fn group_id(&mut self, value: GroupId) -> &mut Self
pub fn group_id(&mut self, value: GroupId) -> &mut Self
The group identifier.
Supported API versions: 0-9
sourcepub fn session_timeout_ms(&mut self, value: i32) -> &mut Self
pub fn session_timeout_ms(&mut self, value: i32) -> &mut Self
The coordinator considers the consumer dead if it receives no heartbeat after this timeout in milliseconds.
Supported API versions: 0-9
sourcepub fn rebalance_timeout_ms(&mut self, value: i32) -> &mut Self
pub fn rebalance_timeout_ms(&mut self, value: i32) -> &mut Self
The maximum time in milliseconds that the coordinator will wait for each member to rejoin when rebalancing the group.
Supported API versions: 1-9
sourcepub fn member_id(&mut self, value: StrBytes) -> &mut Self
pub fn member_id(&mut self, value: StrBytes) -> &mut Self
The member id assigned by the group coordinator.
Supported API versions: 0-9
sourcepub fn group_instance_id(&mut self, value: Option<StrBytes>) -> &mut Self
pub fn group_instance_id(&mut self, value: Option<StrBytes>) -> &mut Self
The unique identifier of the consumer instance provided by end user.
Supported API versions: 5-9
sourcepub fn protocol_type(&mut self, value: StrBytes) -> &mut Self
pub fn protocol_type(&mut self, value: StrBytes) -> &mut Self
The unique name the for class of protocols implemented by the group we want to join.
Supported API versions: 0-9
sourcepub fn protocols(
&mut self,
value: IndexMap<StrBytes, JoinGroupRequestProtocol>,
) -> &mut Self
pub fn protocols( &mut self, value: IndexMap<StrBytes, JoinGroupRequestProtocol>, ) -> &mut Self
The list of protocols that the member supports.
Supported API versions: 0-9
sourcepub fn reason(&mut self, value: Option<StrBytes>) -> &mut Self
pub fn reason(&mut self, value: Option<StrBytes>) -> &mut Self
The reason why the member (re-)joins the group.
Supported API versions: 8-9
sourcepub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Bytes>,
) -> &mut Self
pub fn unknown_tagged_fields( &mut self, value: BTreeMap<i32, Bytes>, ) -> &mut Self
Other tagged fields
sourcepub fn build(&self) -> Result<JoinGroupRequest, JoinGroupRequestBuilderError>
pub fn build(&self) -> Result<JoinGroupRequest, JoinGroupRequestBuilderError>
Trait Implementations§
source§impl Clone for JoinGroupRequestBuilder
impl Clone for JoinGroupRequestBuilder
source§fn clone(&self) -> JoinGroupRequestBuilder
fn clone(&self) -> JoinGroupRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl !Freeze for JoinGroupRequestBuilder
impl RefUnwindSafe for JoinGroupRequestBuilder
impl Send for JoinGroupRequestBuilder
impl Sync for JoinGroupRequestBuilder
impl Unpin for JoinGroupRequestBuilder
impl UnwindSafe for JoinGroupRequestBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)