[ 
https://issues.apache.org/jira/browse/AVRO-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105257#comment-17105257
 ] 

Ryan Skraba commented on AVRO-1603:
-----------------------------------

I think it sounds useful to have the source/generated Avro schema in an .avsc 
file alongside the generated Java class, and your use case for versioning 
artifacts is reasonable.

Is it useful to load the {{$SCHEMA}} from the resource in the generated Java 
class?  I'd have to think about some complex deployments; we have some 
experience with weird classloaders and application servers.  In any case, I'd 
decouple that potential performance improvement from this new feature!

> maven avro plugin to also generate avsc files.
> ----------------------------------------------
>
>                 Key: AVRO-1603
>                 URL: https://issues.apache.org/jira/browse/AVRO-1603
>             Project: Apache Avro
>          Issue Type: New Feature
>          Components: java
>    Affects Versions: 1.8.0
>            Reporter: Zoltan Farkas
>            Priority: Minor
>
> It would be nice to be able to generate also all avsc schema files during 
> compilation.
> This schema files than could be packages, versioned, distributed with maven...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to