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 2018/12/04 22:03:10 UTC

[GitHub] jerrypeng commented on issue #3115: JSONSchema should works with generic (parameterized type) POJO/DTO.

jerrypeng commented on issue #3115: JSONSchema should works with generic (parameterized type) POJO/DTO.
URL: https://github.com/apache/pulsar/issues/3115#issuecomment-444276155
 
 
   So we use Avro underneath to generate a schema for the class.  Parameterized/generics in Java are currently not support for schema generation in Avro.  Though there is discussion and a PR to add that:
   
   https://issues.apache.org/jira/browse/AVRO-2248
   
   https://github.com/apache/avro/pull/356
   
   Though not sure if that is ever going to get merged in.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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