bencebalogh / avro-schema-registry

Confluent Schema Registry implementation in javascript to easily serialize and deserialize kafka messages
MIT License
28 stars 30 forks source link

adding example of multiple property schema to readme #9

Closed jeffbeagley closed 5 years ago

jeffbeagley commented 5 years ago

Scratched my head for awhile on how to create a Schema Object with multiple fields.. turned out all I was missing was the "name" property. Specifically I feel this readme needs a link to the documentation or an example of multiple fields being passed in as the schema.

bencebalogh commented 5 years ago

If you think a more complicated schema would help people new to avro then the readme could be updated with a more complex example, but I'd just update the main example and perhaps add a link to the description of the package to the official avro documentation: http://avro.apache.org/docs/current/