-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Batch max size question #39
Comments
6MB is the AWS Lambda payload max limit: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html Setting a smaller value through configuration, say |
Gotcha. What we're wondering is how to only send N messages to a lambda at a time. We are seeing like 7500 messages sent and the lambda is timing out. We'd like to only send a few at a time. This doesn't appear possible with this connector. |
You can control consumer batch size thought consumer.override.max.poll.records in the connector config and enable aws.lambda.batch.enabled, but before that you have to enable override policy in the worker config using connector.client.config.override.policy=All |
We are attempting to reduce the number of messages being processed by each lambda invocation. We have batching enabled but it doesn't appear that you can configure the message count. It looks like there is a hard coded value for the bytes size of the batch here
kafka-connect-lambda/src/main/java/com/nordstrom/kafka/connect/lambda/LambdaSinkTask.java
Line 26 in eec5306
Is it even possible?
The text was updated successfully, but these errors were encountered: