Avro schema upload with pulsar admin being rejected #21560
Replies: 4 comments 3 replies
-
the upload works if I change the schema type to from |
Beta Was this translation helpful? Give feedback.
-
Hello @estebanz01! Which version of Pulsar are you using? |
Beta Was this translation helpful? Give feedback.
-
OK, I found the issue by doing curl requests to the following endpoint: https://pulsar.apache.org/admin-rest-api/?version=3.1.1#operation/SchemasResource_testCompatibility The response gave me the full error trace so I was able to see what was happening. Basically, the complex types need to be defined as json objects too, so {"name": "device_content", "type": {"type": "map", "values": "string", "default": {}}} It took too long to figure it out 😄 |
Beta Was this translation helpful? Give feedback.
-
hola! 👋
I've been trying to upload an schema with pulsar admin CLI tool but I'm getting hit by the following error:
Any ideas on why it does not work? here's the schema
and here's the schema in a pretty format:
Beta Was this translation helpful? Give feedback.
All reactions