Skip to content

Instantly share code, notes, and snippets.

@flinox
Last active February 19, 2019 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flinox/f4290282b39c34d980a097687ec8947e to your computer and use it in GitHub Desktop.
Save flinox/f4290282b39c34d980a097687ec8947e to your computer and use it in GitHub Desktop.
Kafka: Generate a schema in confluent schema registry from an avsc file
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