All self-managed Apache Kafka event source configuration parameters in Lambda - Amazon Lambda
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

All self-managed Apache Kafka event source configuration parameters in Lambda

All Lambda event source types share the same CreateEventSourceMapping and UpdateEventSourceMapping API operations. However, only some of the parameters apply to self-managed Apache Kafka, as shown in the following table.

Parameter Required Default Notes

BatchSize

N

100

Maximum: 10,000

DestinationConfig

N

N/A

Capturing discarded batches for Amazon MSK and self-managed Apache Kafka event sources

Enabled

N

True

FilterCriteria

N

N/A

Control which events Lambda sends to your function

FunctionName

Y

N/A

KMSKeyArn

N

N/A

Encryption of filter criteria

MaximumBatchingWindowInSeconds

N

500 ms

Batching behavior

ProvisionedPollersConfig

N

MinimumPollers: default value of 1 if not specified

MaximumPollers: default value of 200 if not specified

Provisioned mode

SelfManagedEventSource

Y

N/A

List of Kafka Brokers. Can set only on Create

SelfManagedKafkaEventSourceConfig

N

Contains the ConsumerGroupId field which defaults to a unique value.

Can set only on Create

SourceAccessConfigurations

N

No credentials

VPC information or authentication credentials for the cluster

For SASL_PLAIN, set to BASIC_AUTH

StartingPosition

Y

N/A

AT_TIMESTAMP, TRIM_HORIZON, or LATEST

Can set only on Create

StartingPositionTimestamp

N

N/A

Required if StartingPosition is set to AT_TIMESTAMP

Tags

N

N/A

Using tags on event source mappings

Topics

Y

N/A

Topic name

Can set only on Create