Ok ok, this email is going to make me sound like whiner, but maybe now is the right time to whine?
I find it fairly difficult to successfully post a new schema to the Schema Registry. I think this might be because I have to take an already defined JSON .avsc schema, escape all double quote characters, and then include it as a string in an a JSON object like:
'{ “schema”: “{\”namespace\”: … }” }’
Maybe I’ll just get better at doing this, but thus far I’ve had to slog through the following error messages:
{"error_code":42201,"message":"Input schema is an invalid Avro schema”}
And if I don’t remove all newlines in the schema too:
Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value
Eh eh? Just a thought :)
-AO