T - POJO type to send and receive via Pulsar.public final class ProtobufSchema<T>
extends org.apache.pulsar.client.impl.schema.AbstractStructSchema<T>
ProtobufferCodec from Micronaut.| Constructor and Description |
|---|
ProtobufSchema(org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
ProtobufReader<T> reader,
ProtobufWriter<T> writer) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ProtobufSchema<T> |
of(Class<T> type,
io.micronaut.protobuf.codec.ProtobufferCodec codec) |
atSchemaVersion, decode, decode, decode, decode, encode, getReader, getSchemaInfo, setReader, setSchemaInfoProvider, setWriterequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitAUTO_CONSUME, AUTO_PRODUCE_BYTES, AUTO_PRODUCE_BYTES, AUTO, AVRO, AVRO, configureSchemaInfo, decode, generic, getNativeSchema, getSchema, JSON, JSON, KeyValue, KeyValue, KeyValue, KeyValue, KV_BYTES, NATIVE_AVRO, PROTOBUF_NATIVE, PROTOBUF_NATIVE, PROTOBUF, PROTOBUF, requireFetchingSchemaInfo, supportSchemaVersioning, validatepublic ProtobufSchema(org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
ProtobufReader<T> reader,
ProtobufWriter<T> writer)
public static <T> ProtobufSchema<T> of(Class<T> type, io.micronaut.protobuf.codec.ProtobufferCodec codec)