BewareMyPower commented on PR #15622:
URL: https://github.com/apache/pulsar/pull/15622#issuecomment-1127928783
```java
if (version != null && version.length == 0) {
schemaFuture.completeExceptionally(new
SchemaSerializationException("Empty schema version"));
return schemaFuture;
}
```
This error message added in #14626 could make users more confused. A
`SchemaSerializationException` should represents the error when a byte array is
serialized by an Avro schema. "Empty schema version" doesn't indicate anything
because schema version is not a part of the message itself.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]