forked from vectordotdev/vector
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(aws_cloudwatch_logs sink): Handle and enforce batch.max_bytes (ve…
…ctordotdev#2916) * Make the check for batch.max_bytes being set explicit Signed-off-by: Bruce Guenter <bruce@timber.io> * Implement enhanced VecBuffer2 with length tracking Signed-off-by: Bruce Guenter <bruce@timber.io> * Move cloudwatch log encoding into the partition function This will allow us to determine the length of logs that are added to the buffer. Signed-off-by: Bruce Guenter <bruce@timber.io> * Use new length buffer in aws_cloudwatch_logs to enforce byte length Also fix default batch event limit Signed-off-by: Bruce Guenter <bruce@timber.io>
- Loading branch information
Showing
13 changed files
with
270 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.