Skip to content

Commit 3372b10

Browse files
author
Gabriel Tincu
committed
Rewrite the 1MB message limit
1 parent 8d39e90 commit 3372b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/codec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
_XERIAL_V1_HEADER = (-126, b'S', b'N', b'A', b'P', b'P', b'Y', 0, 1, 1)
1212
_XERIAL_V1_FORMAT = 'bccccccBii'
13-
ZSTD_MAX_OUTPUT_SIZE = 1024 ** 2
13+
ZSTD_MAX_OUTPUT_SIZE = 1024 * 1024
1414

1515
try:
1616
import snappy

0 commit comments

Comments
 (0)