avro-piper: Tool for decoding avro

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 2019-12-20T02:10:51Z
Distributions
Executables avro-decode
Downloads 953 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-12-20 [all 1 reports]

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