#[non_exhaustive]pub struct SelfManagedKafkaEventSourceConfig {
pub consumer_group_id: Option<String>,
}
Expand description
Specific configuration settings for a self-managed Apache Kafka event source.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.consumer_group_id: Option<String>
The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see Customizable consumer group ID.
Implementations§
source§impl SelfManagedKafkaEventSourceConfig
impl SelfManagedKafkaEventSourceConfig
sourcepub fn consumer_group_id(&self) -> Option<&str>
pub fn consumer_group_id(&self) -> Option<&str>
The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see Customizable consumer group ID.
source§impl SelfManagedKafkaEventSourceConfig
impl SelfManagedKafkaEventSourceConfig
sourcepub fn builder() -> SelfManagedKafkaEventSourceConfigBuilder
pub fn builder() -> SelfManagedKafkaEventSourceConfigBuilder
Creates a new builder-style object to manufacture SelfManagedKafkaEventSourceConfig
.
Trait Implementations§
source§impl Clone for SelfManagedKafkaEventSourceConfig
impl Clone for SelfManagedKafkaEventSourceConfig
source§fn clone(&self) -> SelfManagedKafkaEventSourceConfig
fn clone(&self) -> SelfManagedKafkaEventSourceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for SelfManagedKafkaEventSourceConfig
impl PartialEq for SelfManagedKafkaEventSourceConfig
source§fn eq(&self, other: &SelfManagedKafkaEventSourceConfig) -> bool
fn eq(&self, other: &SelfManagedKafkaEventSourceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SelfManagedKafkaEventSourceConfig
Auto Trait Implementations§
impl Freeze for SelfManagedKafkaEventSourceConfig
impl RefUnwindSafe for SelfManagedKafkaEventSourceConfig
impl Send for SelfManagedKafkaEventSourceConfig
impl Sync for SelfManagedKafkaEventSourceConfig
impl Unpin for SelfManagedKafkaEventSourceConfig
impl UnwindSafe for SelfManagedKafkaEventSourceConfig
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
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more