Reputation: 81
I have the Schema Registry on localhost:8083 and want to get the avro schema "test.data" by name to use elsewhere.
When I try
$ curl --location --request GET 'http://localhost:8083/subjects?subject=test.data'
I get back all schemas in the registry.
Is there a way to get one schema by name?
Upvotes: 3
Views: 1724
Reputation: 131
Give a try to :
curl 'http://localhost:8083/subjects/test.data/versions/latest' | jq '.schema'
Upvotes: 6