Skip to content

Commit 8386ca6

Browse files
author
usharma
committed
aws: add zstd compression support
This patch adds zstd compression to existing compression options for aws. It references the compression login in flb_zstd Signed-off-by: Ujjwal Sharma <[email protected]>
1 parent 77cf9d7 commit 8386ca6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/aws/flb_aws_compress.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#include <fluent-bit/aws/flb_aws_compress.h>
2525
#include <fluent-bit/flb_gzip.h>
26+
#include <fluent-bit/flb_zstd.h>
2627

2728
#include <stdint.h>
2829

@@ -48,6 +49,11 @@ static const struct compression_option compression_options[] = {
4849
"gzip",
4950
&flb_gzip_compress
5051
},
52+
{
53+
FLB_AWS_COMPRESS_ZSTD,
54+
"zstd",
55+
&flb_zstd_compress
56+
},
5157
#ifdef FLB_HAVE_ARROW
5258
{
5359
FLB_AWS_COMPRESS_ARROW,

0 commit comments

Comments
 (0)