avro-piper: Tool for decoding avro

[ bsd3, data, library, program ] [ Propose Tags ]

Please see the README on Github at https://github.com/haskell-works/avro-piper#readme


[Skip to Readme]
Versions [faq] 1.0.1, 1.0.2, 1.0.3
Change log ChangeLog.md
Dependencies aeson, avro, avro-piper, base (>=4.7 && <5), bytestring, conduit, conduit-combinators, conduit-extra, hw-kafka-avro, mtl, optparse-applicative, scientific, stringsearch, text, unordered-containers [details]
License BSD-3-Clause
Copyright Alexey Raga
Author Alexey Raga
Maintainer alexey.raga@gmail.com
Category Data
Home page https://github.com/haskell-works/avro-piper#readme
Bug tracker https://github.com/haskell-works/avro-piper/issues
Source repo head: git clone https://github.com/haskell-works/avro-piper
Uploaded by haskellworks at Fri Dec 20 02:10:51 UTC 2019
Distributions NixOS:1.0.3
Executables avro-decode
Downloads 243 total (121 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-12-20 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for avro-piper-1.0.1

[back to package description]

avro-piper

A Schema-registry aware avro decoding tool

Example

This tool is intended to be used with kafkacat as:

$ kafkacat -q -b 127.0.0.1 -t data-topic -p 4 -o beginning -c 5 -D '---' | avro-decode -r http://127.0.0.1:8081 -D '---' | jq .
{
  "id": 185,
  "name": "Utah Education Network",
  "timestamp": 1473674981000
}
{
  "id": 185,
  "name": "Utah Education Network",
  "timestamp": 1473626112000
}
{
  "id": 185,
  "name": "Utah Education Network",
  "timestamp": 1473628416000
}
{
  "id": 185,
  "name": "Utah Education Network",
  "timestamp": 1473697795000
}
{
  "id": 185,
  "name": "Utah Education Network",
  "timestamp": 1473634687000
}

To build (or not to build)

git clone git@github.com:haskell-works/avro-piper.git
cd avro-piper
stack install