Refrain from using the SchemaInfoImpl import to build schema info object. While testing with LS, the following error would manifest specifically when using json only output format:
...
Caused by: java.lang.ClassCastException: class org.apache.pulsar.client.impl.schema.SchemaInfoImpl cannot be cast to cl │
│ at org.apache.pulsar.common.protocol.schema.SchemaHash.of(SchemaHash.java:52) ~[com.datastax.oss-pulsar-common-2.10 │
I tested this patch by building a nar file locally and use it with k8s hosted LS image.
Refrain from using the
SchemaInfoImpl
import to build schema info object. While testing with LS, the following error would manifest specifically when usingjson
only output format:I tested this patch by building a nar file locally and use it with k8s hosted LS image.