Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/rdkafka_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,7 @@ static const struct rd_kafka_property rd_kafka_properties[] = {
"property `compression.codec`. Higher values will result in better "
"compression at the cost of more CPU usage. Usable range is "
"algorithm-dependent: [0-9] for gzip; [0-12] for lz4; only 0 for snappy; "
"-1 = codec-dependent default compression level.",
"[0-22] for zstd; -1 = codec-dependent default compression level.",
RD_KAFKA_COMPLEVEL_MIN, RD_KAFKA_COMPLEVEL_MAX,
RD_KAFKA_COMPLEVEL_DEFAULT},

Expand Down
2 changes: 1 addition & 1 deletion src/rdkafka_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ typedef enum {
RD_KAFKA_COMPLEVEL_LZ4_MAX = 12,
RD_KAFKA_COMPLEVEL_SNAPPY_MAX = 0,
RD_KAFKA_COMPLEVEL_ZSTD_MAX = 22,
RD_KAFKA_COMPLEVEL_MAX = 12
RD_KAFKA_COMPLEVEL_MAX = 22
} rd_kafka_complevel_t;

typedef enum {
Expand Down