You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2023/03/02 17:34:28 UTC
[GitHub] [pulsar] jak78 edited a comment on the discussion: HTTP 422 Invalid schema definition data for PROTOBUF schema
GitHub user jak78 edited a comment on the discussion: HTTP 422 Invalid schema definition data for PROTOBUF schema
Hi @raymondBourges, and welcome to the community!
The `schema` has to be described in JSON format.
Can you try this?
```json
{
"type":"PROTOBUF",
"properties":{},
"schema":"{\"type\":\"record\",\"name\":\"Personne\",\"fields\":[{\"name\":\"nom\",\"type\":\"string\",\"default\":\"\"},{\"name\":\"prenom\",\"type\":\"string\",\"default\":\"\"}]}"
}
```
GitHub link: https://github.com/apache/pulsar/discussions/19690#discussioncomment-5181597
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org