类 NativeAvroBytesSchema<T>

java.lang.Object
org.apache.pulsar.client.impl.schema.NativeAvroBytesSchema<T>
所有已实现的接口:
Cloneable, Schema<byte[]>

public class NativeAvroBytesSchema<T> extends Object implements Schema<byte[]>
Schema from a native Apache Avro schema. This class is supposed to be used on the producer side for working with existing data serialized in Avro, possibly stored in another system like Kafka. For this reason, it will not perform bytes validation against the schema in encoding and decoding, which are just identify functions. This class also makes it possible for users to bring in their own Avro serialization method.
  • 构造器详细资料

    • NativeAvroBytesSchema

      public NativeAvroBytesSchema(org.apache.avro.Schema schema)
    • NativeAvroBytesSchema

      public NativeAvroBytesSchema(Object schema)
  • 方法详细资料