I revealed that tutorial schema version ref from tutorial doesn't work in kafka version3.
In additional the same result I received if I try to send the same tutorial via kafka-rest v2 from cp-kafka-rest:6.2.1 instead of cp-kafka-rest:6.1.0
An assumption which I derived that schema-registry doesn't depend on kafka-rest version - is it correct?
Tutorial:
https://docs.confluent.io/platform/current/tutorials/examples/clients/docs/rest-proxy.html#basic-producer-and-consumer https://docs.confluent.io/platform/current/kafka-rest/api.html#post--clusters-cluster_id-topics-topic_name-records
The message:
{
"key": {
"subject_name_strategy": "TOPIC_NAME",
"schema_id": 8,
"data": 1000
},
"value": {
"data": {
"countInfo": {
"count": 0
}
}
}
}
The answer:
"Error when fetching schema version. subject = test-key, schema = [{\"type\":\"record\",\"name\":\"countInfo\",\"fields\":[{\"name\":\"count\",\"type\":\"long\"}]}]"