Skip to content

Releases: linkedin/avro-util

0.1.10

24 Mar 00:11
9c499da
Compare
Choose a tag to compare
Make avro-fastserde depend on helper module instead of avro-migration…

0.1.9

17 Mar 01:17
a29abb9
Compare
Choose a tag to compare
Check isDebugEnabled in FastGenericDatumReader/Writer for better perf…

0.1.8: add Tool to run avro code generation for entire projects (#24)

21 Feb 20:41
4f07b49
Compare
Choose a tag to compare
* add Tool to run avro code generation for entire projects

0.1.7: new helper module, full avro 1.4-1.9 support (#22)

20 Feb 17:50
3365e27
Compare
Choose a tag to compare
* new helper module, full avro 1.4-1.9 support

this commit includes the following:
- new helper module build has a sub-module per major version of avro which
  compiles natively vs the target avro version. this eliminates the need
  for reflection in _most_ use cases. cases involving optional avro-compiler
  jar still rely on reflection
- helper code now implemented across all major avro versions from 1.4 to
  1.9 inclusive
- code generation support has been extended to cover above avro versions
- tests are now performed with multiple classpaths, including variants
  with and without the avro-compiler jar (on avro 1.5+)

Signed-off-by: Radai Rosenblatt <[email protected]>

0.1.6: remove unused dependency on ant (#21)

12 Feb 05:54
abbe76f
Compare
Choose a tag to compare

0.1.5

12 Feb 01:38
514d15e
Compare
Choose a tag to compare
Updated fast serializer generator to optimize the enum schema generat…

0.1.4: Added a new method to return buffered binary encoder (#19)

31 Jan 18:32
eab8395
Compare
Choose a tag to compare
* Added a new method to return buffered binary encoder

In Avro-1.7 and above, the default BinaryEncoder implementation is buffered,
which has improved the serialization greatly, but this optimization is
absent in Avro-1.4.
To improve the serialization performance in Avro-1.4, this code change back-ports
the buffered binary encoder implementation from Avro-1.8 to be used
in Avro-1.4.
By running the test: SerDeMicroBenchmark#testFastAvroSerialization with Avro-1.4,
the performance is improved by more than 40% with the new buffered binary encoder (5ms vs 9ms).
With the buffered binary encoder, the fast serialization performance across
all the Avro versions are very similar now.

This code change doesn't change the signature of AvroCompatibilityHelper#newBinaryEncoder,
since we would like to keep it backward compatible, instead it adds a new method:
AvroCompatibilityHelper#newBufferedBinaryEncoder to return a `Encoder` instance instead
of `BinaryEncoder`.
The reason of not returning `BinaryEncoder` in the new method is that `BinaryEncoder` has
different kinds of contructors across different Avro versions, and it is not easy to backport
the buffered binary encoder to work with BinaryEncoder interface in Avro-1.4.

* Fixed Javadoc errors

0.1.3: Fast Serializer support for Avro-1.4 (#17)

31 Jan 04:37
c95786f
Compare
Choose a tag to compare
* Fast Serializer support for Avro-1.4

This code change adds support for fast serializer of Avro-1.4.
Now, fast serializer/de-serializer are available for
Avro 1.4/1.7/1.8.

This special logic for Avro-1.4 in Fast Serializer generation
is for enum/fixed since those two types in Avro-1.4 are implementing
differently from other versions, and the corresponding Schema couldn't
be extracted from the generic implementations (GenericData.EnumSymbol
and GenericData.Fixed).

* Added comment in `SchemaAssistant#isNamedType` method

0.1.2

15 Nov 01:00
Compare
Choose a tag to compare

0.1.2