Open azman0101 opened 4 years ago
We don't have an option now. It is not a matter of PutRecordBatch size, but matter of record aggregation because the 5KB roundup is calculated at the record level rather than the API operation level. We can use KPL format with Kinesis Data Firehose, but you need to send records to Kinesis Data Streams in front of Firehose. https://docs.aws.amazon.com/streams/latest/dev/kpl-with-firehose.html
Closing this issue for now. Please reopen if required.
Reopened for feature request like aggregatedRecordSizeBytes configuration in Kinesis Agent. https://docs.aws.amazon.com/firehose/latest/dev/writing-with-agents.html#agent-config-settings
I'd really like to see aggregated record support for firehose. The 5kb rounding for log messages causes a real waste in the common case and aggregated records could drop costs significantly.
Our average PutBatchRecord size is 1Ko bytes.
Regarding to AWS FAQ: https://aws.amazon.com/kinesis/data-firehose/faqs/#Pricing_and_billing
We are not optimizing our costs.
I don't see which kinesis_firehose plugin option can help to increate PutRecordBatch size.
Regards,
JB