@hackage avro-piper1.0.3
Tool for decoding avro
Categories
License
BSD-3-Clause
Maintainer
alexey.raga@gmail.com
Links
Versions
Installation
Dependencies (14)
- aeson >=1.4.6.0 && <1.5
- avro >=0.4.5.4 && <0.5
- base >=4.7 && <5
- bytestring >=0.10 && <0.11
- conduit >=1.3.1.2 && <1.4
- conduit-combinators >=1.3.0 && <1.4 Show all…
Dependents (0)
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