Last active
February 19, 2019 10:58
-
-
Save flinox/f4290282b39c34d980a097687ec8947e to your computer and use it in GitHub Desktop.
Kafka: Generate a schema in confluent schema registry from an avsc file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XPOST -d"{\"schema\":$(jq tostring TOPIC_NAME-value.avsc)}" http://KAFKA_BROKER:31081/subjects/topic-name-value/versions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment