You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/06/14 06:36:26 UTC

[GitHub] [pulsar] yjshen opened a new pull request #4532: [Schema] Make GenericAvroRecord public

yjshen opened a new pull request #4532: [Schema] Make GenericAvroRecord public
URL: https://github.com/apache/pulsar/pull/4532
 
 
   ### Motivation
   
   If I construct an Avro record in my application and want to send it to Pulsar as a typed message, currently I can only rebuild it with `Schema.generic` and `newRecordBuilder`. To make the situation worse, when I want to construct an Avro record with `record` type in `map`'s value, it's not possible through the `SchemaBuilder` way.
   
   Pulsar's `GenericAvroRecord` is just a thin wrapper over Avro's GenericRecord, it will be much easier to use to just make `GenericAvroRecord` with its method/constructor public.
   
   ### Modifications
   
   Make `GenericAvroRecord` with its method/constructor public
   
   ### Does this pull request potentially affect one of the following parts:
   
     - The public API: yes
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services