{"repo":"wishabi/avro-cado","free":true,"listed":false,"github":"https://github.com/wishabi/avro-cado","clone":"git clone https://github.com/wishabi/avro-cado.git","description":"Simple package that implements Avro encoding and decoding with a schema-registry","language":"TypeScript","stars":13,"topics":["node","typescript","kafka","avro","encoder","decoder"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"avro-cado: Encode and Decode using a schema-registry Features - Simple package that implements Avro encoding and decoding - Written in Typescript - Follows the Avro serialization conventions of Confluent's Schema Registry. During deserialization, schemas are obtained from the registry using their 4-byte id prefix. When serializing data, schemas are registered to the registry and obtain the corresponding 4-byte id prefix. - Easy to use interface. All of Confluent's Schema Registry flows are implemented in the package - Supports evolution. Converts Avro-encoded payloads into a format specified by the application's Avro schema. Sample use case - We use this to encode and decode messages when consuming and producing to Kakfa Installation Examples Avro schema Options Create Encoder and use it Create Decoder and use it Making Changes - Ensure typescript is installed: npm install -g typescript - Install all dependencies: npm install - Make changes - Run npm run package . This will remove the release directory, run tsc and add the release directory back to git. The release directory needs to be updated every commit to include changes in the library . - Update the version in package.json - Add your changes to git, and commit. Support / Contributing Before opening an issue or pull request, please read the Contributing guide.","default_branch":null,"files":null,"tree":[],"storefront":"/r/wishabi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wishabi/avro-cado/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}