Class: Aws::Lambda::Types::SelfManagedKafkaEventSourceConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::SelfManagedKafkaEventSourceConfig
- Defined in:
- gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb
Overview
Specific configuration settings for a self-managed Apache Kafka event source.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#consumer_group_id ⇒ String
The identifier for the Kafka consumer group to join.
-
#consumption_mode ⇒ String
The mode that Lambda uses to consume records from your self-managed Apache Kafka topic.
-
#schema_registry_config ⇒ Types::KafkaSchemaRegistryConfig
Specific configuration settings for a Kafka schema registry.
Instance Attribute Details
#consumer_group_id ⇒ 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.
9006 9007 9008 9009 9010 9011 9012 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 9006 class SelfManagedKafkaEventSourceConfig < Struct.new( :consumer_group_id, :schema_registry_config, :consumption_mode) SENSITIVE = [] include Aws::Structure end |
#consumption_mode ⇒ String
The mode that Lambda uses to consume records from your self-managed
Apache Kafka topic. The default is Stream.
Stream– Lambda consumes records using a Kafka consumer group and preserves the order of records within each partition. This is the default when you omitConsumptionMode.Queue– Lambda consumes records using a Kafka share group. Multiple consumers can process records from the same partitions concurrently. Queue mode does not preserve per-partition order. Queue mode requires an Apache Kafka cluster running version 4.2 or later with share groups enabled.
You cannot change ConsumptionMode after you create the event
source mapping. To use a different consumption mode, create a new
event source mapping.
When ConsumptionMode is Queue, the StartingPosition,
StartingPositionTimestamp, and MaximumBatchingWindowInSeconds
parameters are not supported.
9006 9007 9008 9009 9010 9011 9012 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 9006 class SelfManagedKafkaEventSourceConfig < Struct.new( :consumer_group_id, :schema_registry_config, :consumption_mode) SENSITIVE = [] include Aws::Structure end |
#schema_registry_config ⇒ Types::KafkaSchemaRegistryConfig
Specific configuration settings for a Kafka schema registry.
9006 9007 9008 9009 9010 9011 9012 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 9006 class SelfManagedKafkaEventSourceConfig < Struct.new( :consumer_group_id, :schema_registry_config, :consumption_mode) SENSITIVE = [] include Aws::Structure end |