FasterXML / FasterXML/jackson-dataformats-binary

Support for Avro 'single-object encoding' headers in serialize/deserialize

オープン
#172 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
avro
主要言語
Java
スター
347
フォーク
156
平均マージ
3日 3時間
マージ済み PR(30日)
22

説明

Looking for some inter-operability between the org.apache.avro.message.BinaryMessageEncoder (that is used by the Java beans generated by the avro maven/gradle plug-ins) and the raw bytes generated by the Jackson 'AvroMapper' as per the example code:
```
byte[] avroData = mapper.writer(schema)
.writeValueAsBytes(empl);
```
It looks like the Avro BinaryMessageEncoder is adding a header as described by https://avro.apache.org/docs/1.8.2/spec.html#single_object_encoding_spec

Is there some way to get the Jackson 'AvroMapper' to generate and to parse byte arrays with the same headers?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。