Open aditya7k opened 2 years ago
@adityaIndexlabs if you use pulsar-client-original library, you will not use the shaded library.
@sijie does pulsar-client-original
have a org.apache.pulsar.client.api.Schema<org.apache.avro.generic.GenericRecord>
? That's what's needed to support native Avro records.
The issue had no activity for 30 days, mark with Stale label.
The issue had no activity for 30 days, mark with Stale label.
Is your enhancement request related to a problem? Please describe.
We have a requirement to use both Kafka and Pulsar with Apache Avro Schemas. This is not possible currently as Pulsar uses it's own shaded (masked) version of apache avro implementation, which looks identical to Apache Avro.
Describe the solution you'd like
The enhancement is for Pulsar to work directly with Apache's Avro implementation.
Describe alternatives you've considered
Currently we are defining Schema's using Apache Avro Generic Record and then writing conversions to work with Pulsar's shaded version.
Additional context
Add any other context or screenshots about the feature request here.
We have written converters to allow schemas which serialize to
org.apache.avro.generic.GenericRecord
to allow serialization toorg.apache.pulsar.shade.org.apache.avro.generic.GenericRecord
.