1 unstable release

0.1.0 Nov 16, 2020

#100 in #kafka

MIT license

19KB
411 lines

Kafka Schema Registry Tool

Crates.io Docs.rs

This command-line tool aims to make it easier for developers who utilize the Confluent Schema Registry to manage message schemas stored in it.

Primarily, it provides the ability to publish up-to-date message schemas to the registry, as well as retrieve current schemas from the registry.

In its initial release, it only supports protobuf schemas.

Installation

cargo install ksrt

Usage

To see the supported commands and their options:

ksrt -h

Examples

Post a protobuf schema and all its dependencies to the Schema Registry:

ksrt post -T protobuf -t access_log --strip-comments -f ~/protobuf/access_log.proto http://cp-schema-registry.local:8081

License

Licensed under the MIT license.

Dependencies

~16–31MB
~506K SLoC