apache / apache/pulsar-client-python

Avro EOF Error

未關閉
#196 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
75
分支
53
PR 合併指標
30 天內沒有已合併 PR

描述

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?

貢獻指南

開啟貢獻指南

研究方向

未指定 repository 檔案或測試。先使用 fastavro 的 schemaless_reader 和 reader 從 Python 反序列化路徑著手,接著將其與 Java 產生的 Avro 訊息和 schema 進行比較。完成的標準是找出 EOF/header 不相符的來源,並確認相容的跨語言反序列化路徑能夠正常運作。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java, python
領域
distributed-systems
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。