pulsar-client-python icon indicating copy to clipboard operation
pulsar-client-python copied to clipboard

Avro EOF Error

Open RainbowZephyr opened this issue 1 year ago • 1 comments
trafficstars

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?

RainbowZephyr avatar Jan 30 '24 02:01 RainbowZephyr

What's the Python client version you used? Could you show the specific steps to reproduce with Python clients, not Python Functions?

BewareMyPower avatar Feb 04 '24 09:02 BewareMyPower