apache / apache/pulsar-client-python

Avro EOF Error

Open
#196 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
75
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Hello, I am having a bit of an issue running functions in Python with Avro. I am creating a message from Java that is serialized using a schema file without compression that should be processed by a python function. After some tinkering around, the only way to get avro to deserialize was to use schemaless_reader function not the normal reader, however this keeps throwing:

EOF Expected 1464521417000 bytes, read 98350

If I try to use the normal reader from fastavro, it throws an error indicating that it can't read the header.

What should I do in this case?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.