• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to create schema

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
following the document apache avro (java), added avro.jar and jakson jars to classpath, after next step is defining a schema. How to create the schema (.avsc)? where can write the schema (.avsc), is there an easy and full steps document can follow to get start avro? Really quite lost in this Avro (java). Any suggestion will be appreciated. thanks!
 
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A .avsc file seems to just contain text in JSON format. There is actually an example of a schema definition in the project documentation here, which you can create and edit with any basic text editor, like Notepad++. The full schema specification can be found here.
 
shen zhang
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jelle Klap wrote:A .avsc file seems to just contain text in JSON format. There is actually an example of a schema definition in the project documentation here, which you can create and edit with any basic text editor, like Notepad++. The full schema specification can be found here.


Thanks I am finally able to compile schema.
 
Your buns are mine! But you can have this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic