简体   繁体   English

Kinesis 批量大小和 Lambda

[英]Kinesis Batch size and Lambda

I have confusion about Kinesis Batch size and Lambda suppose our batchsSize is 100 and Kinesis got 200 notifications.我对 Kinesis Batch 大小和 Lambda 感到困惑,假设我们的 batchsSize 为 100,而 Kinesis 收到 200 个通知。 Then It will trigger 2 lambda threads?那么它会触发2个lambda线程吗?

It does not work like this by default.默认情况下它不是这样工作的。 By default : 默认情况下

Lambda invokes a function with one batch of data records from one shard at a time . Lambda 调用 function 一次使用来自一个分片的一批数据记录

To process multiple batches from same shard at the same time you have to setup:要同时处理来自同一个分片的多个批次,您必须设置:

Concurrent batches per shard – Process multiple batches from the same shard concurrently.每个分片的并发批次——同时处理来自同一个分片的多个批次。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM