From 8bd52632fe1275f376ad9feab032f01fcc198233 Mon Sep 17 00:00:00 2001 From: jshlbrd Date: Wed, 17 Jul 2024 14:17:39 +0000 Subject: [PATCH] fix(transform): Change Kinesis Payload Limit to MB --- transform/send_aws_kinesis_data_stream.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transform/send_aws_kinesis_data_stream.go b/transform/send_aws_kinesis_data_stream.go index ba525f30..60fcf892 100644 --- a/transform/send_aws_kinesis_data_stream.go +++ b/transform/send_aws_kinesis_data_stream.go @@ -16,9 +16,9 @@ import ( "github.com/google/uuid" ) -// Records greater than 1 MiB in size cannot be +// Records greater than 1 MB in size cannot be // put into a Kinesis Data Stream. -const sendAWSKinesisDataStreamMessageSizeLimit = 1024 * 1024 * 1 +const sendAWSKinesisDataStreamMessageSizeLimit = 1000 * 1000 // errSendAWSKinesisDataStreamMessageSizeLimit is returned when data // exceeds the Kinesis record size limit. If this error occurs, then