You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Dumitru-Nicolae Marasoui <Ni...@kaluza.com> on 2020/06/23 13:23:57 UTC

How can I reuse the definition of an Avro type into another Avro avsc file?

Hi,
I saw that Apache Avro 1.7.3 introduced a notion of import, and also that
the error I am getting says that it cannot find
"some.package.SourceMetadata", either as a defined name, or as an explicit
definition inline.
However I do want to make it a defined name and define it in a file, and
use it in other files, as I detail in the questions below, but it does not
take my import efforts into consideration,

https://stackoverflow.com/questions/62535519/how-do-i-use-an-avro-type-in-another-avro-type-without-defining-it-again

I checked i am using 1.9 (the Intellij Idea opens apache avro 1.9 in debug
mode)
Thank you,
Nicolae

https://www.quora.com/unanswered/How-do-I-use-an-Avro-type-in-another-Avro-type-without-defining-it-again
https://stackoverflow.com/questions/62535519/how-do-i-use-an-avro-type-in-another-avro-type-without-defining-it-again