Package io.confluent.kafka.formatter
Interface SchemaMessageSerializer<T>
- All Superinterfaces:
AutoCloseable,Closeable
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()voidorg.apache.kafka.common.serialization.Serializerbyte[]serialize(String subject, String topic, boolean isKey, org.apache.kafka.common.header.Headers headers, T object, ParsedSchema schema) byte[]serializeKey(String topic, org.apache.kafka.common.header.Headers headers, Object payload)
-
Method Details
-
configure
-
getKeySerializer
org.apache.kafka.common.serialization.Serializer getKeySerializer() -
serializeKey
-
serialize
byte[] serialize(String subject, String topic, boolean isKey, org.apache.kafka.common.header.Headers headers, T object, ParsedSchema schema) -
getSchemaRegistryClient
SchemaRegistryClient getSchemaRegistryClient() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-