FasterXML / FasterXML/jackson-dataformats-binary

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

Open
#172 2 comments 0 reactions 0 assignees View on GitHub
avro
Dominant language
Java
Stars
347
Forks
156
Avg merge
3d 3h
Merged PRs (30d)
22

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.