Class ProtobufWriter<T>
java.lang.Object
io.micronaut.pulsar.schemas.protobuf.ProtobufWriter<T>
- Type Parameters:
T
- POJO type to process.
- All Implemented Interfaces:
org.apache.pulsar.client.api.schema.SchemaWriter<T>
public final class ProtobufWriter<T>
extends Object
implements org.apache.pulsar.client.api.schema.SchemaWriter<T>
Protobuf Schema Writer to allow using
ProtobufferCodec
from Micronaut.- Since:
- 1.1.0
- Author:
- Haris Secic
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ProtobufWriter
public ProtobufWriter(io.micronaut.protobuf.codec.ProtobufferCodec codec)
-
-
Method Details
-
write
- Specified by:
write
in interfaceorg.apache.pulsar.client.api.schema.SchemaWriter<T>
-