apache / apache/pulsar-client-python

Avro EOF Error

Offen
#196 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
75
Forks
53
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.