datastax / cdc-apache-cassandra

Datastax CDC for Apache Cassandra
Apache License 2.0
35 stars 21 forks source link

Use SchemaInfo API to build SchemaInfo objects #101

Closed aymkhalil closed 1 year ago

aymkhalil commented 1 year ago

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.