github.com/datamountaineer/schema-registry

A CLI and Go client for Kafka Schema Registry


Keywords
api, avro, avro-schema, cli, confluent, go, kafka, schema, schema-registry
License
Apache-2.0
Install
go get github.com/datamountaineer/schema-registry

Documentation

Confluent Kafka Schema Registry CLI and client

This repository contains a CLI and Go client for the REST API of Confluent's Kafka Schema Registry.

Build Status GoDoc

CLI

To install the CLI, assuming a properly setup Go installation, do:

go get github.com/datamountaineer/schema-registry/schema-registry-cli

After that, the CLI is found in $GOPATH/bin/schema-registry-cli. Running schema-registry-cli without arguments gives:

A command line interface for the Confluent schema registry

Usage:
  schema-registry-cli [command]

Available Commands:
  add         registers the schema provided through stdin
  exists      checks if the schema provided through stdin exists for the subject
  get         retrieves a schema specified by id or subject
  subjects    lists all registered subjects
  versions    lists all available versions

Flags:
  -h, --help         help for schema-registry-cli
  -e, --url string   schema registry url (default "http://localhost:8081")
  -v, --verbose      be verbose

Use "schema-registry-cli [command] --help" for more information about a command.

Client

The documentation of the package can be found here.