fast-data-dev
fast-data-dev copied to clipboard
Schema Registry - subjects/<subject>/versions/latest/schema gives 404
Hello,
I am using the image version Kafka 1.0.1-L0 @ Landoop's Apache Kafka Distribution
When I try to call the following endpoint it gives a 404
/subjects/<subject>/versions/latest/schema
{"error_code":404,"message":"HTTP 404 Not Found"}
The below gives a valid response
/subjects/<subject>/versions/latest
{"subject":"table1-value","version":1,"id":4,"schema":"{\"type\":\"record\"}"}
How can I get the schema in a JSON format as mentioned here?
You are supposed to replace <subject> with the actual topic name!
Yes I have. table1-value is my topic name and I also see it on Schema Registry UI.
/subjects/table1-value/versions/latest - works
/subjects/table1-value/versions/latest/schema - gives 404
/subjects/table1-value/versions/latest/schema - has been added in the schema registry release 4.1+ .
Older versions do not have the rout for the exrtra /schema.
Fast data dev doesn't run the 4.1+ schema registry