Popularity
4.6
Declining
Activity
0.0
Stable
2
6
0

Monthly Downloads: 9
Programming language: Shell
License: BSD 3-clause "New" or "Revised" License
Tags: Data     Avro    
Latest version: v1.0.3
Add another 'avro' Package

README

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 [email protected]:haskell-works/avro-piper.git
cd avro-piper
stack install