#[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 ==
.