Hi, I'm trying to set `batchSize` for dynamodb str...
# help
s
Hi, I'm trying to set
batchSize
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.
Copy code
consumers: {
        consumer1: {
          handler: 'services/example/example.main',
          timeout: 12,
          consumerProps: {
            retryAttempts: 5,
            batchSize: 10
          },
        },
      },
t
Let me play with this and check
s
Thanks @thdxr
@thdxr I found my error, inside consumer1 I needed to have property
function
instead of
handler