| Modifier and Type | Method and Description |
|---|---|
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.authenticationMethod(AuthenticationMethod authenticationMethod)
The authentication method for your Kafka cluster.
|
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.batchSize(Number batchSize)
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.bootstrapServers(List<String> bootstrapServers)
The list of host and port pairs that are the addresses of the Kafka brokers in a "bootstrap" Kafka cluster that a Kafka client connects to initially to bootstrap itself.
|
static SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.create() |
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.enabled(Boolean enabled)
If the stream event source mapping should be enabled.
|
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.maxBatchingWindow(Duration maxBatchingWindow)
The maximum amount of time to gather records before invoking the function.
|
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.secret(ISecret secret)
The secret with the Kafka credentials, see https://docs.aws.amazon.com/msk/latest/developerguide/msk-password.html for details This field is required if your Kafka brokers are accessed over the Internet.
|
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.securityGroup(ISecurityGroup securityGroup)
If your Kafka brokers are only reachable via VPC, provide the security group here.
|
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.startingPosition(StartingPosition startingPosition)
Where to begin consuming the stream.
|
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.topic(String topic)
The Kafka topic to subscribe to.
|
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.vpc(IVpc vpc)
If your Kafka brokers are only reachable via VPC provide the VPC here.
|
SelfManagedKafkaEventSource.Builder |
SelfManagedKafkaEventSource.Builder.vpcSubnets(SubnetSelection vpcSubnets)
If your Kafka brokers are only reachable via VPC, provide the subnets selection here.
|
Copyright © 2022. All rights reserved.