Lambda Scheduler to pull Data from Kafka Topic

0

Hi, I have kafka topic from which my Lambda function would be schedule daily to pull some events. What's max events it can pull in one go , may be my kafka topic would have 5-10million events. Do i need to batch the record pulling in multiple service polling for or any way to do this in one request .

1 Resposta
1

Instead of getting Kafka events the way you are proposing, have you looked at using a Kafka event trigger for lambda. Lambda will process messages as they arrive on the topic. You can specify a batch size which by default is 100 but can go up to 10000.

If you are using self-managed Kafka, take a look here - https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html

If you are using Amazon MSK, take a look here - https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html

profile pictureAWS
ESPECIALISTA
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas