GitHub user brusser opened a pull request:
https://github.com/apache/avro/pull/277
Add getEncoder method to access encoder instance
Would like to add the getEncoder method to the generated classes
Unless the encoder should be protected not sure why there is access to the
decoder and not the encoder. If there is a better way to get a
BinaryMessageEncoder for this schemaStore let me know.
Sorry I am new to GitHub so I hope I am following the process properly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brusser/avro patch-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/277.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #277
----
commit 8563ce74be084650a2ff4558d4b640ce367316aa
Author: Michael Hewitt <brusser@...>
Date: 2018-01-11T20:35:12Z
Add getEncoder method to access encoder instance
Unless the encoder should be protected not sure why there is access to the
decoder and not the encoder. If there is a better way to get a
BinaryMessageEncoder for this schemaStore let me know.
----
---