Sam Frampton
09/19/2021, 8:09 PMbatchSize
for dynamodb stream. I'm adding it to consumerProps nested inside consumer1. I check aws console and batchSize is still default 100. It's not too clear where batchSize config goes for dynamodb streams.
consumers: {
consumer1: {
handler: 'services/example/example.main',
timeout: 12,
consumerProps: {
retryAttempts: 5,
batchSize: 10
},
},
},
thdxr
09/19/2021, 8:13 PMSam Frampton
09/19/2021, 8:13 PMSam Frampton
09/19/2021, 8:16 PMfunction
instead of handler