wolfstudy commented on issue #5109: [function]ProtobufSchema.of run time error URL: https://github.com/apache/pulsar/issues/5109#issuecomment-549779712 @LeisureChou Hello, i use `pulsar 2.4.1`, the protobuf schema function can create correctly. ``` <dependency> <groupId>org.apache.pulsar</groupId> <artifactId>pulsar-client</artifactId> <version>2.4.1</version> </dependency> ``` schema def as follows: ``` { "type": "PROTOBUF", "schema": "{\"type\":\"record\",\"name\":\"Test\",\"fields\":[{\"name\":\"num\",\"type\":[\"null\",\"int\"]},{\"name\":\"msf\",\"type\":[\"null\",\"string\"]}]}", "properties": {"__alwaysAllowNull":"true"} } ``` You can try again with version 2.4.1.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
