You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.../site-packages/kafka/codec.py", line 315, in zstd_decode
return zstd.ZstdDecompressor().decompress(payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
zstd.ZstdError: could not determine content size in frame header
The symptom:
.../site-packages/kafka/codec.py", line 315, in zstd_decode
return zstd.ZstdDecompressor().decompress(payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
zstd.ZstdError: could not determine content size in frame header
This issue is discussed here: mitmproxy/mitmproxy#6914
A fix inspired by that discussion that works for me:
--- a/kafka/codec.py
+++ b/kafka/codec.py
@@ -311,7 +311,4 @@ def zstd_encode(payload):
def zstd_decode(payload):
if not zstd:
raise NotImplementedError("Zstd codec is not available")
The text was updated successfully, but these errors were encountered: